configure.in
changeset 753 b14fdadd8311
parent 750 ce48d14ca5bf
child 754 623b453a3219
     1.1 --- a/configure.in	Wed Dec 10 12:32:38 2003 +0000
     1.2 +++ b/configure.in	Wed Dec 10 12:35:56 2003 +0000
     1.3 @@ -1582,7 +1582,9 @@
     1.4  
     1.5          if test x$use_dlopen = xyes; then
     1.6              CFLAGS="$CFLAGS -DUSE_DLOPEN"
     1.7 -            AC_CHECK_LIB(dl, dlopen, SYSTEM_LIBS="$SYSTEM_LIBS -ldl", AC_CHECK_LIB(ltdl, dlopen, SYSTEM_LIBS="$SYSTEM_LIBS -lltdl"))
     1.8 +            AC_CHECK_LIB(c, dlopen, SYSTEM_LIBS="$SYSTEM_LIBS",
     1.9 +               AC_CHECK_LIB(dl, dlopen, SYSTEM_LIBS="$SYSTEM_LIBS -ldl",
    1.10 +                  AC_CHECK_LIB(ltdl, dlopen, SYSTEM_LIBS="$SYSTEM_LIBS -lltdl")))
    1.11          fi
    1.12      fi
    1.13  }