--- unixODBC-2.2.12/configure.in.alt 2007-02-08 10:40:10 +0300 +++ unixODBC-2.2.12/configure.in 2007-02-08 11:04:43 +0300 @@ -170,7 +170,7 @@ dnl override the libtool lines if we use the system libs if test "x$ltdllib" = "xtrue"; then -AC_CHECK_LIB( ltdl, lt_dlopen, [ LIBLTDL="-lltdl" ], [use_builtin_libtool="yes"] ) +AC_CHECK_LIB( ltdl, lt_dlopen, [ LIBLTDL="-lltdl"; use_builtin_libtool="yes"] ) if test "x$use_builtin_libtool" = "xno"; then AC_CHECK_HEADERS(ltdl.h, [], [use_builtin_libtool="yes"] ) fi