version 1.598, 2004/12/04 18:48:47
|
version 1.598.2.1, 2004/12/30 21:29:49
|
Line 1
|
Line 1
|
#! /bin/sh |
#! /bin/sh |
# $OpenLDAP$ |
# $OpenLDAP$ |
# from OpenLDAP: pkg/ldap/configure.in,v 1.559 2004/11/30 22:25:26 slim Exp |
# from OpenLDAP: pkg/ldap/configure.in,v 1.560 2004/12/04 18:48:48 hyc Exp |
|
|
# This work is part of OpenLDAP Software <http://www.openldap.org/>. |
# This work is part of OpenLDAP Software <http://www.openldap.org/>. |
# |
# |
Line 8464 if (XOR (islower (i), ISLOWER (i)) || to
|
Line 8464 if (XOR (islower (i), ISLOWER (i)) || to
|
exit (0); } |
exit (0); } |
|
|
EOF |
EOF |
if { (eval echo configure:8468: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>&5 |
if { (eval echo configure:8468: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
then |
then |
: |
: |
else |
else |
Line 9549 int main(int argc, char *argv)
|
Line 9549 int main(int argc, char *argv)
|
exit (epfd == -1 ? 1 : 0); |
exit (epfd == -1 ? 1 : 0); |
} |
} |
EOF |
EOF |
if { (eval echo configure:9553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>&5 |
if { (eval echo configure:9553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
then |
then |
echo "$ac_t""yes" 1>&6 |
echo "$ac_t""yes" 1>&6 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
Line 9762 else
|
Line 9762 else
|
} |
} |
|
|
EOF |
EOF |
if { (eval echo configure:9766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>&5 |
if { (eval echo configure:9766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
then |
then |
ol_cv_nonposix_strerror_r=yes |
ol_cv_nonposix_strerror_r=yes |
else |
else |
Line 10010 main()
|
Line 10010 main()
|
return rc; |
return rc; |
} |
} |
EOF |
EOF |
if { (eval echo configure:10014: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>&5 |
if { (eval echo configure:10014: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
then |
then |
ol_cv_c_posix_regex=yes |
ol_cv_c_posix_regex=yes |
else |
else |
Line 12190 int main(argc, argv)
|
Line 12190 int main(argc, argv)
|
} |
} |
|
|
EOF |
EOF |
if { (eval echo configure:12194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>&5 |
if { (eval echo configure:12194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
then |
then |
ol_cv_pthread_create=yes |
ol_cv_pthread_create=yes |
else |
else |
Line 12377 int main(argc, argv)
|
Line 12377 int main(argc, argv)
|
} |
} |
|
|
EOF |
EOF |
if { (eval echo configure:12381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>&5 |
if { (eval echo configure:12381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
then |
then |
ol_cv_pthread_kthread=yes |
ol_cv_pthread_kthread=yes |
else |
else |
Line 12569 int main(argc, argv)
|
Line 12569 int main(argc, argv)
|
} |
} |
|
|
EOF |
EOF |
if { (eval echo configure:12573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>&5 |
if { (eval echo configure:12573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
then |
then |
ol_cv_pthread_pthread=yes |
ol_cv_pthread_pthread=yes |
else |
else |
Line 12761 int main(argc, argv)
|
Line 12761 int main(argc, argv)
|
} |
} |
|
|
EOF |
EOF |
if { (eval echo configure:12765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>&5 |
if { (eval echo configure:12765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
then |
then |
ol_cv_pthread_pthreads=yes |
ol_cv_pthread_pthreads=yes |
else |
else |
Line 12953 int main(argc, argv)
|
Line 12953 int main(argc, argv)
|
} |
} |
|
|
EOF |
EOF |
if { (eval echo configure:12957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>&5 |
if { (eval echo configure:12957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
then |
then |
ol_cv_pthread_mthreads=yes |
ol_cv_pthread_mthreads=yes |
else |
else |
Line 13145 int main(argc, argv)
|
Line 13145 int main(argc, argv)
|
} |
} |
|
|
EOF |
EOF |
if { (eval echo configure:13149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>&5 |
if { (eval echo configure:13149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
then |
then |
ol_cv_pthread_thread=yes |
ol_cv_pthread_thread=yes |
else |
else |
Line 13338 int main(argc, argv)
|
Line 13338 int main(argc, argv)
|
} |
} |
|
|
EOF |
EOF |
if { (eval echo configure:13342: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>&5 |
if { (eval echo configure:13342: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
then |
then |
ol_cv_pthread_lpthread_lmach_lexc_lc_r=yes |
ol_cv_pthread_lpthread_lmach_lexc_lc_r=yes |
else |
else |
Line 13530 int main(argc, argv)
|
Line 13530 int main(argc, argv)
|
} |
} |
|
|
EOF |
EOF |
if { (eval echo configure:13534: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>&5 |
if { (eval echo configure:13534: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
then |
then |
ol_cv_pthread_lpthread_lmach_lexc=yes |
ol_cv_pthread_lpthread_lmach_lexc=yes |
else |
else |
Line 13723 int main(argc, argv)
|
Line 13723 int main(argc, argv)
|
} |
} |
|
|
EOF |
EOF |
if { (eval echo configure:13727: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>&5 |
if { (eval echo configure:13727: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
then |
then |
ol_cv_pthread_lib_lpthread_woff=yes |
ol_cv_pthread_lib_lpthread_woff=yes |
else |
else |
Line 13916 int main(argc, argv)
|
Line 13916 int main(argc, argv)
|
} |
} |
|
|
EOF |
EOF |
if { (eval echo configure:13920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>&5 |
if { (eval echo configure:13920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
then |
then |
ol_cv_pthread_lpthread=yes |
ol_cv_pthread_lpthread=yes |
else |
else |
Line 14108 int main(argc, argv)
|
Line 14108 int main(argc, argv)
|
} |
} |
|
|
EOF |
EOF |
if { (eval echo configure:14112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>&5 |
if { (eval echo configure:14112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
then |
then |
ol_cv_pthread_lc_r=yes |
ol_cv_pthread_lc_r=yes |
else |
else |
Line 14301 int main(argc, argv)
|
Line 14301 int main(argc, argv)
|
} |
} |
|
|
EOF |
EOF |
if { (eval echo configure:14305: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>&5 |
if { (eval echo configure:14305: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
then |
then |
ol_cv_pthread_threads=yes |
ol_cv_pthread_threads=yes |
else |
else |
Line 14494 int main(argc, argv)
|
Line 14494 int main(argc, argv)
|
} |
} |
|
|
EOF |
EOF |
if { (eval echo configure:14498: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>&5 |
if { (eval echo configure:14498: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
then |
then |
ol_cv_pthread_lpthreads_lmach_lexc_lc_r=yes |
ol_cv_pthread_lpthreads_lmach_lexc_lc_r=yes |
else |
else |
Line 14686 int main(argc, argv)
|
Line 14686 int main(argc, argv)
|
} |
} |
|
|
EOF |
EOF |
if { (eval echo configure:14690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>&5 |
if { (eval echo configure:14690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
then |
then |
ol_cv_pthread_lpthreads_lmach_lexc=yes |
ol_cv_pthread_lpthreads_lmach_lexc=yes |
else |
else |
Line 14878 int main(argc, argv)
|
Line 14878 int main(argc, argv)
|
} |
} |
|
|
EOF |
EOF |
if { (eval echo configure:14882: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>&5 |
if { (eval echo configure:14882: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
then |
then |
ol_cv_pthread_lpthreads_lexc=yes |
ol_cv_pthread_lpthreads_lexc=yes |
else |
else |
Line 15071 int main(argc, argv)
|
Line 15071 int main(argc, argv)
|
} |
} |
|
|
EOF |
EOF |
if { (eval echo configure:15075: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>&5 |
if { (eval echo configure:15075: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
then |
then |
ol_cv_pthread_lib_lpthreads=yes |
ol_cv_pthread_lib_lpthreads=yes |
else |
else |
Line 15557 int main(argc, argv)
|
Line 15557 int main(argc, argv)
|
} |
} |
|
|
EOF |
EOF |
if { (eval echo configure:15561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>&5 |
if { (eval echo configure:15561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
then |
then |
ol_cv_pthread_create_works=yes |
ol_cv_pthread_create_works=yes |
else |
else |
Line 15665 int main(argc, argv)
|
Line 15665 int main(argc, argv)
|
exit(2); |
exit(2); |
} |
} |
EOF |
EOF |
if { (eval echo configure:15669: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>&5 |
if { (eval echo configure:15669: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
then |
then |
ol_cv_pthread_select_yields=no |
ol_cv_pthread_select_yields=no |
else |
else |
Line 20732 main()
|
Line 20732 main()
|
return 0; |
return 0; |
} |
} |
EOF |
EOF |
if { (eval echo configure:20736: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>&5 |
if { (eval echo configure:20736: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
then |
then |
ol_cv_berkeley_db_version=yes |
ol_cv_berkeley_db_version=yes |
else |
else |
Line 20838 main()
|
Line 20838 main()
|
return rc; |
return rc; |
} |
} |
EOF |
EOF |
if { (eval echo configure:20842: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>&5 |
if { (eval echo configure:20842: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
then |
then |
ol_cv_berkeley_db_thread=yes |
ol_cv_berkeley_db_thread=yes |
else |
else |
Line 22896 if (XOR (islower (i), ISLOWER (i)) || to
|
Line 22896 if (XOR (islower (i), ISLOWER (i)) || to
|
exit (0); } |
exit (0); } |
|
|
EOF |
EOF |
if { (eval echo configure:22900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>&5 |
if { (eval echo configure:22900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
then |
then |
: |
: |
else |
else |
Line 23523 main()
|
Line 23523 main()
|
exit(1); |
exit(1); |
} |
} |
EOF |
EOF |
if { (eval echo configure:23527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>&5 |
if { (eval echo configure:23527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
then |
then |
ol_cv_c_upper_lower=no |
ol_cv_c_upper_lower=no |
else |
else |
Line 23732 main () {
|
Line 23732 main () {
|
exit (u.c[sizeof (long) - 1] == 1); |
exit (u.c[sizeof (long) - 1] == 1); |
} |
} |
EOF |
EOF |
if { (eval echo configure:23736: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>&5 |
if { (eval echo configure:23736: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
then |
then |
ac_cv_c_bigendian=no |
ac_cv_c_bigendian=no |
else |
else |
Line 23964 main()
|
Line 23964 main()
|
} |
} |
|
|
EOF |
EOF |
if { (eval echo configure:23968: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>&5 |
if { (eval echo configure:23968: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
then |
then |
ac_cv_func_memcmp_clean=yes |
ac_cv_func_memcmp_clean=yes |
else |
else |