AC_MSG_RESULT(QWTHOME not defined)
dnl E.A. : Trying to detect QWTHOME
exits_ok=no
- if test "x$exits_ok" = "xno"; then
- dnl E.A. : Searching for libqwt.so in usual system paths
- for d in /usr/local /usr ; do
- AC_CHECK_FILE(${d}/lib/libqwt.so,exits_ok=yes,exits_ok=no)
- if test "x$exits_ok" = "xyes"; then
- QWTHOME=$d
- AC_MSG_RESULT(libqwt.so detected in $d/lib)
- break
- fi
- done
- fi
if test "x$exits_ok" = "xno"; then
dnl E.A. : Searching for libqwt.so in LD_LIBRARY_PATH
for d in `echo $LD_LIBRARY_PATH | sed -e "s/:/ /g"` ; do
fi
done
fi
+ if test "x$exits_ok" = "xno"; then
+ dnl E.A. : Searching for libqwt.so in usual system paths
+ for d in /usr/local /usr ; do
+ AC_CHECK_FILE(${d}/lib/libqwt.so,exits_ok=yes,exits_ok=no)
+ if test "x$exits_ok" = "xyes"; then
+ QWTHOME=$d
+ AC_MSG_RESULT(libqwt.so detected in $d/lib)
+ break
+ fi
+ done
+ fi
dnl E.A. : Trying to find QWT_INCLUDES
if test "x$exits_ok" = "xyes"; then
if test -z $QWT_INCLUDES; then