From: Theodore Ts'o Date: Sun, 16 Mar 2003 11:27:22 +0000 (-0500) Subject: Update the generated configure file. X-Git-Tag: E2FSPROGS-1_33-WIP-0316~7 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=bbac86bb9e8ce8a07b769cb44ade4f56c9384936;p=tools%2Fe2fsprogs.git Update the generated configure file. --- diff --git a/configure b/configure index 4071559..3c5862f 100644 --- a/configure +++ b/configure @@ -4800,13 +4800,59 @@ else fi +DLOPEN_LIB='' +echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 +echo "configure:4806: checking for dlopen in -ldl" >&5 +ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` +if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + ac_save_LIBS="$LIBS" +LIBS="-ldl $LIBS" +cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=no" +fi +rm -f conftest* +LIBS="$ac_save_LIBS" + +fi +if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then + echo "$ac_t""yes" 1>&6 + DLOPEN_LIB=-ldl +cat >> confdefs.h <<\EOF +#define HAVE_DLOPEN 1 +EOF + +else + echo "$ac_t""no" 1>&6 +fi + + echo $ac_n "checking for optreset""... $ac_c" 1>&6 -echo "configure:4805: checking for optreset" >&5 +echo "configure:4851: checking for optreset" >&5 if eval "test \"`echo '$''{'ac_cv_have_optreset'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF @@ -4885,20 +4931,20 @@ fi echo $ac_n "checking whether linker accepts -static""... $ac_c" 1>&6 -echo "configure:4889: checking whether linker accepts -static" >&5 +echo "configure:4935: checking whether linker accepts -static" >&5 if eval "test \"`echo '$''{'ac_cv_e2fsprogs_use_static'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else SAVE_LDFLAGS=$LDFLAGS; LDFLAGS="$LDFLAGS -static" cat > conftest.$ac_ext < int main() { fflush(stdout); ; return 0; } EOF -if { (eval echo configure:4902: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4948: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* ac_cv_e2fsprogs_use_static=yes else @@ -5189,6 +5235,7 @@ s%@SIZEOF_INT@%$SIZEOF_INT%g s%@SIZEOF_LONG@%$SIZEOF_LONG%g s%@SIZEOF_LONG_LONG@%$SIZEOF_LONG_LONG%g s%@SOCKET_LIB@%$SOCKET_LIB%g +s%@DLOPEN_LIB@%$DLOPEN_LIB%g s%@LINUX_CMT@%$LINUX_CMT%g s%@root_prefix@%$root_prefix%g s%@root_bindir@%$root_bindir%g