12 |
ac_default_prefix=/usr/local |
ac_default_prefix=/usr/local |
13 |
# Any additions from configure.in: |
# Any additions from configure.in: |
14 |
ac_help="$ac_help |
ac_help="$ac_help |
15 |
--enable-shared build PCRE as a shared library (using libtool)" |
--disable-shared build PCRE as a static library" |
16 |
|
|
17 |
# Initialize some variables set by options. |
# Initialize some variables set by options. |
18 |
# The variables have the same names as the options, with |
# The variables have the same names as the options, with |
138 |
# The list generated by autoconf has been trimmed to remove many |
# The list generated by autoconf has been trimmed to remove many |
139 |
# options that are totally irrelevant to PCRE (e.g. relating to X), |
# options that are totally irrelevant to PCRE (e.g. relating to X), |
140 |
# or are not supported by its Makefile. |
# or are not supported by its Makefile. |
|
# The list generated by autoconf has been trimmed to remove many |
|
|
# options that are totally irrelevant to PCRE (e.g. relating to X), |
|
|
# or are not supported by its Makefile. |
|
141 |
# This message is too long to be a string in the A/UX 3.1 sh. |
# This message is too long to be a string in the A/UX 3.1 sh. |
142 |
cat << EOF |
cat << EOF |
143 |
Usage: ./configure [options] |
Usage: ./configure [options] |
501 |
|
|
502 |
|
|
503 |
|
|
504 |
|
|
505 |
|
|
506 |
|
|
507 |
|
PCRE_MAJOR=3 |
508 |
|
PCRE_MINOR=0 |
509 |
|
PCRE_DATE=01-Feb-2000 |
510 |
|
PCRE_VERSION=${PCRE_MAJOR}.${PCRE_MINOR} |
511 |
|
|
512 |
|
|
513 |
|
PCRE_LIB_VERSION=0:0:0 |
514 |
|
PCRE_POSIXLIB_VERSION=0:0:0 |
515 |
|
|
516 |
|
|
517 |
# Extract the first word of "gcc", so it can be a program name with args. |
# Extract the first word of "gcc", so it can be a program name with args. |
518 |
set dummy gcc; ac_word=$2 |
set dummy gcc; ac_word=$2 |
519 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
520 |
echo "configure:531: checking for $ac_word" >&5 |
echo "configure:544: checking for $ac_word" >&5 |
521 |
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
522 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
523 |
else |
else |
547 |
# Extract the first word of "cc", so it can be a program name with args. |
# Extract the first word of "cc", so it can be a program name with args. |
548 |
set dummy cc; ac_word=$2 |
set dummy cc; ac_word=$2 |
549 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
550 |
echo "configure:561: checking for $ac_word" >&5 |
echo "configure:574: checking for $ac_word" >&5 |
551 |
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
552 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
553 |
else |
else |
598 |
# Extract the first word of "cl", so it can be a program name with args. |
# Extract the first word of "cl", so it can be a program name with args. |
599 |
set dummy cl; ac_word=$2 |
set dummy cl; ac_word=$2 |
600 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
601 |
echo "configure:612: checking for $ac_word" >&5 |
echo "configure:625: checking for $ac_word" >&5 |
602 |
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
603 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
604 |
else |
else |
630 |
fi |
fi |
631 |
|
|
632 |
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
633 |
echo "configure:644: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
echo "configure:657: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
634 |
|
|
635 |
ac_ext=c |
ac_ext=c |
636 |
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
641 |
|
|
642 |
cat > conftest.$ac_ext << EOF |
cat > conftest.$ac_ext << EOF |
643 |
|
|
644 |
#line 655 "configure" |
#line 668 "configure" |
645 |
#include "confdefs.h" |
#include "confdefs.h" |
646 |
|
|
647 |
main(){return(0);} |
main(){return(0);} |
648 |
EOF |
EOF |
649 |
if { (eval echo configure:660: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
650 |
ac_cv_prog_cc_works=yes |
ac_cv_prog_cc_works=yes |
651 |
# If we can't run a trivial program, we are probably using a cross compiler. |
# If we can't run a trivial program, we are probably using a cross compiler. |
652 |
if (./conftest; exit) 2>/dev/null; then |
if (./conftest; exit) 2>/dev/null; then |
672 |
{ echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
{ echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
673 |
fi |
fi |
674 |
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
675 |
echo "configure:686: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
echo "configure:699: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
676 |
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
677 |
cross_compiling=$ac_cv_prog_cc_cross |
cross_compiling=$ac_cv_prog_cc_cross |
678 |
|
|
679 |
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
680 |
echo "configure:691: checking whether we are using GNU C" >&5 |
echo "configure:704: checking whether we are using GNU C" >&5 |
681 |
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then |
682 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
683 |
else |
else |
686 |
yes; |
yes; |
687 |
#endif |
#endif |
688 |
EOF |
EOF |
689 |
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:700: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:713: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
690 |
ac_cv_prog_gcc=yes |
ac_cv_prog_gcc=yes |
691 |
else |
else |
692 |
ac_cv_prog_gcc=no |
ac_cv_prog_gcc=no |
705 |
ac_save_CFLAGS="$CFLAGS" |
ac_save_CFLAGS="$CFLAGS" |
706 |
CFLAGS= |
CFLAGS= |
707 |
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
708 |
echo "configure:719: checking whether ${CC-cc} accepts -g" >&5 |
echo "configure:732: checking whether ${CC-cc} accepts -g" >&5 |
709 |
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then |
710 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
711 |
else |
else |
739 |
# Extract the first word of "ranlib", so it can be a program name with args. |
# Extract the first word of "ranlib", so it can be a program name with args. |
740 |
set dummy ranlib; ac_word=$2 |
set dummy ranlib; ac_word=$2 |
741 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
742 |
echo "configure:753: checking for $ac_word" >&5 |
echo "configure:766: checking for $ac_word" >&5 |
743 |
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then |
744 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
745 |
else |
else |
767 |
fi |
fi |
768 |
|
|
769 |
|
|
770 |
|
|
771 |
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
772 |
echo "configure:782: checking how to run the C preprocessor" >&5 |
echo "configure:796: checking how to run the C preprocessor" >&5 |
773 |
# On Suns, sometimes $CPP names a directory. |
# On Suns, sometimes $CPP names a directory. |
774 |
if test -n "$CPP" && test -d "$CPP"; then |
if test -n "$CPP" && test -d "$CPP"; then |
775 |
CPP= |
CPP= |
784 |
# On the NeXT, cc -E runs the code through the compiler's parser, |
# On the NeXT, cc -E runs the code through the compiler's parser, |
785 |
# not just through cpp. |
# not just through cpp. |
786 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
787 |
#line 797 "configure" |
#line 811 "configure" |
788 |
#include "confdefs.h" |
#include "confdefs.h" |
789 |
#include <assert.h> |
#include <assert.h> |
790 |
Syntax Error |
Syntax Error |
791 |
EOF |
EOF |
792 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
793 |
{ (eval echo configure:803: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:817: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
794 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
795 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
796 |
: |
: |
801 |
rm -rf conftest* |
rm -rf conftest* |
802 |
CPP="${CC-cc} -E -traditional-cpp" |
CPP="${CC-cc} -E -traditional-cpp" |
803 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
804 |
#line 814 "configure" |
#line 828 "configure" |
805 |
#include "confdefs.h" |
#include "confdefs.h" |
806 |
#include <assert.h> |
#include <assert.h> |
807 |
Syntax Error |
Syntax Error |
808 |
EOF |
EOF |
809 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
810 |
{ (eval echo configure:820: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:834: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
811 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
812 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
813 |
: |
: |
818 |
rm -rf conftest* |
rm -rf conftest* |
819 |
CPP="${CC-cc} -nologo -E" |
CPP="${CC-cc} -nologo -E" |
820 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
821 |
#line 831 "configure" |
#line 845 "configure" |
822 |
#include "confdefs.h" |
#include "confdefs.h" |
823 |
#include <assert.h> |
#include <assert.h> |
824 |
Syntax Error |
Syntax Error |
825 |
EOF |
EOF |
826 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
827 |
{ (eval echo configure:837: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:851: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
828 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
829 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
830 |
: |
: |
849 |
echo "$ac_t""$CPP" 1>&6 |
echo "$ac_t""$CPP" 1>&6 |
850 |
|
|
851 |
echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
852 |
echo "configure:862: checking for ANSI C header files" >&5 |
echo "configure:876: checking for ANSI C header files" >&5 |
853 |
if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then |
854 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
855 |
else |
else |
856 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
857 |
#line 867 "configure" |
#line 881 "configure" |
858 |
#include "confdefs.h" |
#include "confdefs.h" |
859 |
#include <stdlib.h> |
#include <stdlib.h> |
860 |
#include <stdarg.h> |
#include <stdarg.h> |
862 |
#include <float.h> |
#include <float.h> |
863 |
EOF |
EOF |
864 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
865 |
{ (eval echo configure:875: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:889: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
866 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
867 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
868 |
rm -rf conftest* |
rm -rf conftest* |
879 |
if test $ac_cv_header_stdc = yes; then |
if test $ac_cv_header_stdc = yes; then |
880 |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
881 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
882 |
#line 892 "configure" |
#line 906 "configure" |
883 |
#include "confdefs.h" |
#include "confdefs.h" |
884 |
#include <string.h> |
#include <string.h> |
885 |
EOF |
EOF |
897 |
if test $ac_cv_header_stdc = yes; then |
if test $ac_cv_header_stdc = yes; then |
898 |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
899 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
900 |
#line 910 "configure" |
#line 924 "configure" |
901 |
#include "confdefs.h" |
#include "confdefs.h" |
902 |
#include <stdlib.h> |
#include <stdlib.h> |
903 |
EOF |
EOF |
918 |
: |
: |
919 |
else |
else |
920 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
921 |
#line 931 "configure" |
#line 945 "configure" |
922 |
#include "confdefs.h" |
#include "confdefs.h" |
923 |
#include <ctype.h> |
#include <ctype.h> |
924 |
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
929 |
exit (0); } |
exit (0); } |
930 |
|
|
931 |
EOF |
EOF |
932 |
if { (eval echo configure:942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:956: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
933 |
then |
then |
934 |
: |
: |
935 |
else |
else |
956 |
do |
do |
957 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
958 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
959 |
echo "configure:969: checking for $ac_hdr" >&5 |
echo "configure:983: checking for $ac_hdr" >&5 |
960 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
961 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
962 |
else |
else |
963 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
964 |
#line 974 "configure" |
#line 988 "configure" |
965 |
#include "confdefs.h" |
#include "confdefs.h" |
966 |
#include <$ac_hdr> |
#include <$ac_hdr> |
967 |
EOF |
EOF |
968 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
969 |
{ (eval echo configure:979: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:993: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
970 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
971 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
972 |
rm -rf conftest* |
rm -rf conftest* |
993 |
done |
done |
994 |
|
|
995 |
|
|
996 |
|
|
997 |
echo $ac_n "checking for working const""... $ac_c" 1>&6 |
echo $ac_n "checking for working const""... $ac_c" 1>&6 |
998 |
echo "configure:1007: checking for working const" >&5 |
echo "configure:1022: checking for working const" >&5 |
999 |
if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then |
1000 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1001 |
else |
else |
1002 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1003 |
#line 1012 "configure" |
#line 1027 "configure" |
1004 |
#include "confdefs.h" |
#include "confdefs.h" |
1005 |
|
|
1006 |
int main() { |
int main() { |
1049 |
|
|
1050 |
; return 0; } |
; return 0; } |
1051 |
EOF |
EOF |
1052 |
if { (eval echo configure:1061: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:1076: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
1053 |
rm -rf conftest* |
rm -rf conftest* |
1054 |
ac_cv_c_const=yes |
ac_cv_c_const=yes |
1055 |
else |
else |
1070 |
fi |
fi |
1071 |
|
|
1072 |
echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
1073 |
echo "configure:1082: checking for size_t" >&5 |
echo "configure:1097: checking for size_t" >&5 |
1074 |
if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then |
1075 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1076 |
else |
else |
1077 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1078 |
#line 1087 "configure" |
#line 1102 "configure" |
1079 |
#include "confdefs.h" |
#include "confdefs.h" |
1080 |
#include <sys/types.h> |
#include <sys/types.h> |
1081 |
#if STDC_HEADERS |
#if STDC_HEADERS |
1103 |
fi |
fi |
1104 |
|
|
1105 |
|
|
1106 |
|
|
1107 |
for ac_func in memmove strerror |
for ac_func in memmove strerror |
1108 |
do |
do |
1109 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
1110 |
echo "configure:1118: checking for $ac_func" >&5 |
echo "configure:1134: checking for $ac_func" >&5 |
1111 |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
1112 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1113 |
else |
else |
1114 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1115 |
#line 1123 "configure" |
#line 1139 "configure" |
1116 |
#include "confdefs.h" |
#include "confdefs.h" |
1117 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
1118 |
which can conflict with char $ac_func(); below. */ |
which can conflict with char $ac_func(); below. */ |
1135 |
|
|
1136 |
; return 0; } |
; return 0; } |
1137 |
EOF |
EOF |
1138 |
if { (eval echo configure:1146: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1139 |
rm -rf conftest* |
rm -rf conftest* |
1140 |
eval "ac_cv_func_$ac_func=yes" |
eval "ac_cv_func_$ac_func=yes" |
1141 |
else |
else |
1161 |
|
|
1162 |
|
|
1163 |
|
|
1164 |
|
LIBTOOL=libtool |
1165 |
LIBTOOL= |
LIBSUFFIX=la |
|
LIBSUFFIX=a |
|
1166 |
# Check whether --enable-shared or --disable-shared was given. |
# Check whether --enable-shared or --disable-shared was given. |
1167 |
if test "${enable_shared+set}" = set; then |
if test "${enable_shared+set}" = set; then |
1168 |
enableval="$enable_shared" |
enableval="$enable_shared" |
1169 |
if test "$enableval" = "yes"; then |
if test "$enableval" = "no"; then |
1170 |
LIBTOOL=libtool |
LIBTOOL= |
1171 |
LIBSUFFIX=la |
LIBSUFFIX=a |
1172 |
fi |
fi |
1173 |
|
|
1174 |
fi |
fi |
1175 |
|
|
1176 |
|
|
1177 |
|
|
1178 |
|
|
1179 |
|
|
1180 |
|
|
1181 |
|
|
1182 |
|
|
1183 |
|
|
1184 |
|
|
1185 |
|
|
1186 |
|
|
1187 |
|
|
1188 |
|
|
1189 |
trap '' 1 2 15 |
trap '' 1 2 15 |
1190 |
cat > confcache <<\EOF |
cat > confcache <<\EOF |
1191 |
# This file is a shell script that caches the results of configure |
# This file is a shell script that caches the results of configure |
1286 |
|
|
1287 |
ac_given_srcdir=$srcdir |
ac_given_srcdir=$srcdir |
1288 |
|
|
1289 |
trap 'rm -fr `echo "Makefile config.h:config.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 |
trap 'rm -fr `echo "Makefile pcre.h:pcre.in pcre-config config.h:config.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 |
1290 |
EOF |
EOF |
1291 |
cat >> $CONFIG_STATUS <<EOF |
cat >> $CONFIG_STATUS <<EOF |
1292 |
|
|
1321 |
s%@CC@%$CC%g |
s%@CC@%$CC%g |
1322 |
s%@RANLIB@%$RANLIB%g |
s%@RANLIB@%$RANLIB%g |
1323 |
s%@CPP@%$CPP%g |
s%@CPP@%$CPP%g |
1324 |
|
s%@HAVE_MEMMOVE@%$HAVE_MEMMOVE%g |
1325 |
|
s%@HAVE_STRERROR@%$HAVE_STRERROR%g |
1326 |
s%@LIBTOOL@%$LIBTOOL%g |
s%@LIBTOOL@%$LIBTOOL%g |
1327 |
s%@LIBSUFFIX@%$LIBSUFFIX%g |
s%@LIBSUFFIX@%$LIBSUFFIX%g |
1328 |
|
s%@PCRE_MAJOR@%$PCRE_MAJOR%g |
1329 |
|
s%@PCRE_MINOR@%$PCRE_MINOR%g |
1330 |
|
s%@PCRE_DATE@%$PCRE_DATE%g |
1331 |
|
s%@PCRE_VERSION@%$PCRE_VERSION%g |
1332 |
|
s%@PCRE_LIB_VERSION@%$PCRE_LIB_VERSION%g |
1333 |
|
s%@PCRE_POSIXLIB_VERSION@%$PCRE_POSIXLIB_VERSION%g |
1334 |
|
|
1335 |
CEOF |
CEOF |
1336 |
EOF |
EOF |
1372 |
|
|
1373 |
cat >> $CONFIG_STATUS <<EOF |
cat >> $CONFIG_STATUS <<EOF |
1374 |
|
|
1375 |
CONFIG_FILES=\${CONFIG_FILES-"Makefile"} |
CONFIG_FILES=\${CONFIG_FILES-"Makefile pcre.h:pcre.in pcre-config"} |
1376 |
EOF |
EOF |
1377 |
cat >> $CONFIG_STATUS <<\EOF |
cat >> $CONFIG_STATUS <<\EOF |
1378 |
for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then |
for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then |
1538 |
|
|
1539 |
EOF |
EOF |
1540 |
cat >> $CONFIG_STATUS <<\EOF |
cat >> $CONFIG_STATUS <<\EOF |
1541 |
|
chmod a+x pcre-config |
1542 |
exit 0 |
exit 0 |
1543 |
EOF |
EOF |
1544 |
chmod +x $CONFIG_STATUS |
chmod +x $CONFIG_STATUS |