--- qsampler/trunk/configure.ac 2006/03/19 16:38:22 846 +++ qsampler/trunk/configure.ac 2006/03/20 10:53:33 847 @@ -1,5 +1,5 @@ # Process this file with autoconf to produce a configure script. -AC_INIT(Qsampler, 0.1.2.16, rncbc@rncbc.org, qsampler) +AC_INIT(Qsampler, 0.1.2.17, rncbc@rncbc.org, qsampler) AC_CONFIG_SRCDIR(src/qsamplerMainForm.ui.h) AC_CONFIG_HEADERS(config.h) AC_CONFIG_FILES(Makefile qsampler.pro qsampler.spec) @@ -58,6 +58,10 @@ CPPFLAGS="$CPPFLAGS -I$X/include" ac_incpath="$X/include $ac_incpath" fi + if test -d $X/lib64; then + LIBS="$LIBS -L$X/lib64" + ac_libs="$ac_libs -L$X/lib64" + fi if test -d $X/lib; then LIBS="$LIBS -L$X/lib" ac_libs="-L$X/lib $ac_libs" @@ -75,7 +79,11 @@ CFLAGS="$CFLAGS -I$QTDIR/include" CPPFLAGS="$CPPFLAGS -I$QTDIR/include" -LIBS="$LIBS -L$QTDIR/lib" +if test -d $QTDIR/lib64; then + LIBS="$LIBS -L$QTDIR/lib64" +else + LIBS="$LIBS -L$QTDIR/lib" +fi for X in qt qt3; do if test -d $QTDIR/include/$X; then CFLAGS="$CFLAGS -I$QTDIR/include/$X"