/[pcre]/code/trunk/configure
ViewVC logotype

Diff of /code/trunk/configure

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 47 by nigel, Sat Feb 24 21:39:29 2007 UTC revision 49 by nigel, Sat Feb 24 21:39:33 2007 UTC
# Line 13  ac_default_prefix=/usr/local Line 13  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    --disable-shared        build PCRE as a static library"    --disable-shared        build PCRE as a static library"
16    ac_help="$ac_help
17      --enable-utf8           enable UTF8 support (incomplete)"
18    
19  # Initialize some variables set by options.  # Initialize some variables set by options.
20  # The variables have the same names as the options, with  # The variables have the same names as the options, with
# Line 138  do Line 140  do
140      # The list generated by autoconf has been trimmed to remove many      # The list generated by autoconf has been trimmed to remove many
141      # options that are totally irrelevant to PCRE (e.g. relating to X),      # options that are totally irrelevant to PCRE (e.g. relating to X),
142      # or are not supported by its Makefile.      # or are not supported by its Makefile.
143        # The list generated by autoconf has been trimmed to remove many
144        # options that are totally irrelevant to PCRE (e.g. relating to X),
145        # or are not supported by its Makefile.
146        # The list generated by autoconf has been trimmed to remove many
147        # options that are totally irrelevant to PCRE (e.g. relating to X),
148        # or are not supported by its Makefile.
149      # 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.
150      cat << EOF      cat << EOF
151  Usage: ./configure [options]  Usage: ./configure [options]
# Line 505  fi Line 513  fi
513    
514    
515  PCRE_MAJOR=3  PCRE_MAJOR=3
516  PCRE_MINOR=2  PCRE_MINOR=3
517  PCRE_DATE=12-May-2000  PCRE_DATE=01-Aug-2000
518  PCRE_VERSION=${PCRE_MAJOR}.${PCRE_MINOR}  PCRE_VERSION=${PCRE_MAJOR}.${PCRE_MINOR}
519    
520    
# Line 517  PCRE_POSIXLIB_VERSION=0:0:0 Line 525  PCRE_POSIXLIB_VERSION=0:0:0
525  # 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.
526  set dummy gcc; ac_word=$2  set dummy gcc; ac_word=$2
527  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
528  echo "configure:544: checking for $ac_word" >&5  echo "configure:546: checking for $ac_word" >&5
529  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
530    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
531  else  else
# Line 547  if test -z "$CC"; then Line 555  if test -z "$CC"; then
555    # 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.
556  set dummy cc; ac_word=$2  set dummy cc; ac_word=$2
557  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
558  echo "configure:574: checking for $ac_word" >&5  echo "configure:576: checking for $ac_word" >&5
559  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
560    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
561  else  else
# Line 598  fi Line 606  fi
606        # 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.
607  set dummy cl; ac_word=$2  set dummy cl; ac_word=$2
608  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
609  echo "configure:625: checking for $ac_word" >&5  echo "configure:627: checking for $ac_word" >&5
610  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
611    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
612  else  else
# Line 630  fi Line 638  fi
638  fi  fi
639    
640  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
641  echo "configure:657: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5  echo "configure:659: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
642    
643  ac_ext=c  ac_ext=c
644  # 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.
# Line 641  cross_compiling=$ac_cv_prog_cc_cross Line 649  cross_compiling=$ac_cv_prog_cc_cross
649    
650  cat > conftest.$ac_ext << EOF  cat > conftest.$ac_ext << EOF
651    
652  #line 668 "configure"  #line 670 "configure"
653  #include "confdefs.h"  #include "confdefs.h"
654    
655  main(){return(0);}  main(){return(0);}
656  EOF  EOF
657  if { (eval echo configure:673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:675: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
658    ac_cv_prog_cc_works=yes    ac_cv_prog_cc_works=yes
659    # 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.
660    if (./conftest; exit) 2>/dev/null; then    if (./conftest; exit) 2>/dev/null; then
# Line 672  if test $ac_cv_prog_cc_works = no; then Line 680  if test $ac_cv_prog_cc_works = no; then
680    { 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; }
681  fi  fi
682  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
683  echo "configure:699: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5  echo "configure:701: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
684  echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6  echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
685  cross_compiling=$ac_cv_prog_cc_cross  cross_compiling=$ac_cv_prog_cc_cross
686    
687  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
688  echo "configure:704: checking whether we are using GNU C" >&5  echo "configure:706: checking whether we are using GNU C" >&5
689  if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
690    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
691  else  else
# Line 686  else Line 694  else
694    yes;    yes;
695  #endif  #endif
696  EOF  EOF
697  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  if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:715: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
698    ac_cv_prog_gcc=yes    ac_cv_prog_gcc=yes
699  else  else
700    ac_cv_prog_gcc=no    ac_cv_prog_gcc=no
# Line 705  ac_test_CFLAGS="${CFLAGS+set}" Line 713  ac_test_CFLAGS="${CFLAGS+set}"
713  ac_save_CFLAGS="$CFLAGS"  ac_save_CFLAGS="$CFLAGS"
714  CFLAGS=  CFLAGS=
715  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
716  echo "configure:732: checking whether ${CC-cc} accepts -g" >&5  echo "configure:734: checking whether ${CC-cc} accepts -g" >&5
717  if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
718    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
719  else  else
# Line 739  fi Line 747  fi
747  # 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.
748  set dummy ranlib; ac_word=$2  set dummy ranlib; ac_word=$2
749  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
750  echo "configure:766: checking for $ac_word" >&5  echo "configure:768: checking for $ac_word" >&5
751  if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
752    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
753  else  else
# Line 769  fi Line 777  fi
777    
778    
779  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
780  echo "configure:796: checking how to run the C preprocessor" >&5  echo "configure:798: checking how to run the C preprocessor" >&5
781  # On Suns, sometimes $CPP names a directory.  # On Suns, sometimes $CPP names a directory.
782  if test -n "$CPP" && test -d "$CPP"; then  if test -n "$CPP" && test -d "$CPP"; then
783    CPP=    CPP=
# Line 784  else Line 792  else
792    # 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,
793    # not just through cpp.    # not just through cpp.
794    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
795  #line 811 "configure"  #line 813 "configure"
796  #include "confdefs.h"  #include "confdefs.h"
797  #include <assert.h>  #include <assert.h>
798  Syntax Error  Syntax Error
799  EOF  EOF
800  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
801  { (eval echo configure:817: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:819: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
802  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
803  if test -z "$ac_err"; then  if test -z "$ac_err"; then
804    :    :
# Line 801  else Line 809  else
809    rm -rf conftest*    rm -rf conftest*
810    CPP="${CC-cc} -E -traditional-cpp"    CPP="${CC-cc} -E -traditional-cpp"
811    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
812  #line 828 "configure"  #line 830 "configure"
813  #include "confdefs.h"  #include "confdefs.h"
814  #include <assert.h>  #include <assert.h>
815  Syntax Error  Syntax Error
816  EOF  EOF
817  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
818  { (eval echo configure:834: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:836: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
819  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
820  if test -z "$ac_err"; then  if test -z "$ac_err"; then
821    :    :
# Line 818  else Line 826  else
826    rm -rf conftest*    rm -rf conftest*
827    CPP="${CC-cc} -nologo -E"    CPP="${CC-cc} -nologo -E"
828    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
829  #line 845 "configure"  #line 847 "configure"
830  #include "confdefs.h"  #include "confdefs.h"
831  #include <assert.h>  #include <assert.h>
832  Syntax Error  Syntax Error
833  EOF  EOF
834  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
835  { (eval echo configure:851: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:853: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
836  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
837  if test -z "$ac_err"; then  if test -z "$ac_err"; then
838    :    :
# Line 849  fi Line 857  fi
857  echo "$ac_t""$CPP" 1>&6  echo "$ac_t""$CPP" 1>&6
858    
859  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
860  echo "configure:876: checking for ANSI C header files" >&5  echo "configure:878: checking for ANSI C header files" >&5
861  if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
862    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
863  else  else
864    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
865  #line 881 "configure"  #line 883 "configure"
866  #include "confdefs.h"  #include "confdefs.h"
867  #include <stdlib.h>  #include <stdlib.h>
868  #include <stdarg.h>  #include <stdarg.h>
# Line 862  else Line 870  else
870  #include <float.h>  #include <float.h>
871  EOF  EOF
872  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
873  { (eval echo configure:889: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:891: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
874  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
875  if test -z "$ac_err"; then  if test -z "$ac_err"; then
876    rm -rf conftest*    rm -rf conftest*
# Line 879  rm -f conftest* Line 887  rm -f conftest*
887  if test $ac_cv_header_stdc = yes; then  if test $ac_cv_header_stdc = yes; then
888    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
889  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
890  #line 906 "configure"  #line 908 "configure"
891  #include "confdefs.h"  #include "confdefs.h"
892  #include <string.h>  #include <string.h>
893  EOF  EOF
# Line 897  fi Line 905  fi
905  if test $ac_cv_header_stdc = yes; then  if test $ac_cv_header_stdc = yes; then
906    # 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.
907  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
908  #line 924 "configure"  #line 926 "configure"
909  #include "confdefs.h"  #include "confdefs.h"
910  #include <stdlib.h>  #include <stdlib.h>
911  EOF  EOF
# Line 918  if test "$cross_compiling" = yes; then Line 926  if test "$cross_compiling" = yes; then
926    :    :
927  else  else
928    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
929  #line 945 "configure"  #line 947 "configure"
930  #include "confdefs.h"  #include "confdefs.h"
931  #include <ctype.h>  #include <ctype.h>
932  #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')  #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
# Line 929  if (XOR (islower (i), ISLOWER (i)) || to Line 937  if (XOR (islower (i), ISLOWER (i)) || to
937  exit (0); }  exit (0); }
938    
939  EOF  EOF
940  if { (eval echo configure:956: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:958: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
941  then  then
942    :    :
943  else  else
# Line 956  for ac_hdr in limits.h Line 964  for ac_hdr in limits.h
964  do  do
965  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
966  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
967  echo "configure:983: checking for $ac_hdr" >&5  echo "configure:985: checking for $ac_hdr" >&5
968  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
969    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
970  else  else
971    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
972  #line 988 "configure"  #line 990 "configure"
973  #include "confdefs.h"  #include "confdefs.h"
974  #include <$ac_hdr>  #include <$ac_hdr>
975  EOF  EOF
976  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
977  { (eval echo configure:993: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:995: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
978  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
979  if test -z "$ac_err"; then  if test -z "$ac_err"; then
980    rm -rf conftest*    rm -rf conftest*
# Line 995  done Line 1003  done
1003    
1004    
1005  echo $ac_n "checking for working const""... $ac_c" 1>&6  echo $ac_n "checking for working const""... $ac_c" 1>&6
1006  echo "configure:1022: checking for working const" >&5  echo "configure:1024: checking for working const" >&5
1007  if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
1008    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1009  else  else
1010    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1011  #line 1027 "configure"  #line 1029 "configure"
1012  #include "confdefs.h"  #include "confdefs.h"
1013    
1014  int main() {  int main() {
# Line 1049  ccp = (char const *const *) p; Line 1057  ccp = (char const *const *) p;
1057    
1058  ; return 0; }  ; return 0; }
1059  EOF  EOF
1060  if { (eval echo configure:1076: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:1078: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1061    rm -rf conftest*    rm -rf conftest*
1062    ac_cv_c_const=yes    ac_cv_c_const=yes
1063  else  else
# Line 1070  EOF Line 1078  EOF
1078  fi  fi
1079    
1080  echo $ac_n "checking for size_t""... $ac_c" 1>&6  echo $ac_n "checking for size_t""... $ac_c" 1>&6
1081  echo "configure:1097: checking for size_t" >&5  echo "configure:1099: checking for size_t" >&5
1082  if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
1083    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1084  else  else
1085    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1086  #line 1102 "configure"  #line 1104 "configure"
1087  #include "confdefs.h"  #include "confdefs.h"
1088  #include <sys/types.h>  #include <sys/types.h>
1089  #if STDC_HEADERS  #if STDC_HEADERS
# Line 1107  fi Line 1115  fi
1115  for ac_func in bcopy memmove strerror  for ac_func in bcopy memmove strerror
1116  do  do
1117  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1118  echo "configure:1134: checking for $ac_func" >&5  echo "configure:1136: checking for $ac_func" >&5
1119  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1120    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1121  else  else
1122    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1123  #line 1139 "configure"  #line 1141 "configure"
1124  #include "confdefs.h"  #include "confdefs.h"
1125  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
1126      which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func(); below.  */
# Line 1135  $ac_func(); Line 1143  $ac_func();
1143    
1144  ; return 0; }  ; return 0; }
1145  EOF  EOF
1146  if { (eval echo configure:1162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1164: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1147    rm -rf conftest*    rm -rf conftest*
1148    eval "ac_cv_func_$ac_func=yes"    eval "ac_cv_func_$ac_func=yes"
1149  else  else
# Line 1175  fi Line 1183  fi
1183    
1184    
1185    
1186    # Check whether --enable-utf8 or --disable-utf8 was given.
1187    if test "${enable_utf8+set}" = set; then
1188      enableval="$enable_utf8"
1189      if test "$enableval" = "yes"; then
1190      UTF8=-DSUPPORT_UTF8
1191    fi
1192    
1193    fi
1194    
1195    
1196    
1197    
1198    
1199    
1200    
# Line 1286  done Line 1306  done
1306    
1307  ac_given_srcdir=$srcdir  ac_given_srcdir=$srcdir
1308    
1309  trap 'rm -fr `echo "Makefile pcre.h:pcre.in pcre-config config.h:config.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15  trap 'rm -fr `echo "Makefile pcre.h:pcre.in pcre-config:pcre-config.in RunTest:RunTest.in config.h:config.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
1310  EOF  EOF
1311  cat >> $CONFIG_STATUS <<EOF  cat >> $CONFIG_STATUS <<EOF
1312    
# Line 1325  s%@HAVE_MEMMOVE@%$HAVE_MEMMOVE%g Line 1345  s%@HAVE_MEMMOVE@%$HAVE_MEMMOVE%g
1345  s%@HAVE_STRERROR@%$HAVE_STRERROR%g  s%@HAVE_STRERROR@%$HAVE_STRERROR%g
1346  s%@LIBTOOL@%$LIBTOOL%g  s%@LIBTOOL@%$LIBTOOL%g
1347  s%@LIBSUFFIX@%$LIBSUFFIX%g  s%@LIBSUFFIX@%$LIBSUFFIX%g
1348    s%@UTF8@%$UTF8%g
1349  s%@PCRE_MAJOR@%$PCRE_MAJOR%g  s%@PCRE_MAJOR@%$PCRE_MAJOR%g
1350  s%@PCRE_MINOR@%$PCRE_MINOR%g  s%@PCRE_MINOR@%$PCRE_MINOR%g
1351  s%@PCRE_DATE@%$PCRE_DATE%g  s%@PCRE_DATE@%$PCRE_DATE%g
# Line 1372  EOF Line 1393  EOF
1393    
1394  cat >> $CONFIG_STATUS <<EOF  cat >> $CONFIG_STATUS <<EOF
1395    
1396  CONFIG_FILES=\${CONFIG_FILES-"Makefile pcre.h:pcre.in pcre-config"}  CONFIG_FILES=\${CONFIG_FILES-"Makefile pcre.h:pcre.in pcre-config:pcre-config.in RunTest:RunTest.in"}
1397  EOF  EOF
1398  cat >> $CONFIG_STATUS <<\EOF  cat >> $CONFIG_STATUS <<\EOF
1399  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
# Line 1538  cat >> $CONFIG_STATUS < Line 1559  cat >> $CONFIG_STATUS <
1559    
1560  EOF  EOF
1561  cat >> $CONFIG_STATUS <<\EOF  cat >> $CONFIG_STATUS <<\EOF
1562  chmod a+x pcre-config  chmod a+x RunTest pcre-config
1563  exit 0  exit 0
1564  EOF  EOF
1565  chmod +x $CONFIG_STATUS  chmod +x $CONFIG_STATUS

Legend:
Removed from v.47  
changed lines
  Added in v.49

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12