From db7698cbd33223e900e03112500fc714c21d5b8f Mon Sep 17 00:00:00 2001 From: Fumitoshi UKAI Date: Tue, 21 Oct 2003 17:12:09 +0000 Subject: =?UTF-8?q?OpenLDAP=C2=A4=C3=88Active=20Directory=C2=A4=C2=AC?= =?UTF-8?q?=C2=B5=C3=95=3F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- configure | 46 +++++++++++++++++++++++----------------------- 1 file changed, 23 insertions(+), 23 deletions(-) (limited to 'configure') diff --git a/configure b/configure index 302b3c4..7f54ccb 100755 --- a/configure +++ b/configure @@ -6799,10 +6799,10 @@ echo "$as_me: error: gc.h not found" >&2;} { (exit 1); exit 1; }; } fi fi - unset ac_cv_lib_gc_GC_version - echo "$as_me:$LINENO: checking for GC_version in -lgc" >&5 -echo $ECHO_N "checking for GC_version in -lgc... $ECHO_C" >&6 -if test "${ac_cv_lib_gc_GC_version+set}" = set; then + unset ac_cv_lib_gc_GC_init + echo "$as_me:$LINENO: checking for GC_init in -lgc" >&5 +echo $ECHO_N "checking for GC_init in -lgc... $ECHO_C" >&6 +if test "${ac_cv_lib_gc_GC_init+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS @@ -6821,11 +6821,11 @@ extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ -char GC_version (); +char GC_init (); int main () { -GC_version (); +GC_init (); ; return 0; } @@ -6842,23 +6842,23 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - ac_cv_lib_gc_GC_version=yes + ac_cv_lib_gc_GC_init=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -ac_cv_lib_gc_GC_version=no +ac_cv_lib_gc_GC_init=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:$LINENO: result: $ac_cv_lib_gc_GC_version" >&5 -echo "${ECHO_T}$ac_cv_lib_gc_GC_version" >&6 -if test $ac_cv_lib_gc_GC_version = yes; then +echo "$as_me:$LINENO: result: $ac_cv_lib_gc_GC_init" >&5 +echo "${ECHO_T}$ac_cv_lib_gc_GC_init" >&6 +if test $ac_cv_lib_gc_GC_init = yes; then LIBS="$LIBS -lgc" fi - if test x"$ac_cv_lib_gc_GC_version" = xno; then + if test x"$ac_cv_lib_gc_GC_init" = xno; then echo "$as_me:$LINENO: checking GC library location" >&5 echo $ECHO_N "checking GC library location... $ECHO_C" >&6 echo "$as_me:$LINENO: result: $with_gc" >&5 @@ -6869,10 +6869,10 @@ echo "${ECHO_T}$with_gc" >&6 LDFLAGS="$LDFLAGS -L$dir/lib" echo "$as_me:$LINENO: checking $dir" >&5 echo $ECHO_N "checking $dir... $ECHO_C" >&6 - unset ac_cv_lib_gc_GC_version - echo "$as_me:$LINENO: checking for GC_version in -lgc" >&5 -echo $ECHO_N "checking for GC_version in -lgc... $ECHO_C" >&6 -if test "${ac_cv_lib_gc_GC_version+set}" = set; then + unset ac_cv_lib_gc_GC_init + echo "$as_me:$LINENO: checking for GC_init in -lgc" >&5 +echo $ECHO_N "checking for GC_init in -lgc... $ECHO_C" >&6 +if test "${ac_cv_lib_gc_GC_init+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS @@ -6891,11 +6891,11 @@ extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ -char GC_version (); +char GC_init (); int main () { -GC_version (); +GC_init (); ; return 0; } @@ -6912,19 +6912,19 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - ac_cv_lib_gc_GC_version=yes + ac_cv_lib_gc_GC_init=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -ac_cv_lib_gc_GC_version=no +ac_cv_lib_gc_GC_init=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:$LINENO: result: $ac_cv_lib_gc_GC_version" >&5 -echo "${ECHO_T}$ac_cv_lib_gc_GC_version" >&6 -if test $ac_cv_lib_gc_GC_version = yes; then +echo "$as_me:$LINENO: result: $ac_cv_lib_gc_GC_init" >&5 +echo "${ECHO_T}$ac_cv_lib_gc_GC_init" >&6 +if test $ac_cv_lib_gc_GC_init = yes; then gclibdir="$dir/lib"; LIBS="$LIBS -L$dir/lib -lgc"; break fi -- cgit v1.2.3