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

Diff of /code/trunk/configure

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

revision 63 by nigel, Sat Feb 24 21:40:03 2007 UTC revision 73 by nigel, Sat Feb 24 21:40:30 2007 UTC
# Line 466  ac_includes_default="\ Line 466  ac_includes_default="\
466  # include <unistd.h>  # include <unistd.h>
467  #endif"  #endif"
468    
469  ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA build build_cpu build_vendor build_os host host_cpu host_vendor host_os LN_S ECHO RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP CPP EGREP LIBTOOL HAVE_MEMMOVE HAVE_STRERROR HOST_CC HOST_CFLAGS NEWLINE LINK_SIZE MATCH_LIMIT UTF8 PCRE_MAJOR PCRE_MINOR PCRE_DATE PCRE_VERSION PCRE_LIB_VERSION PCRE_POSIXLIB_VERSION POSIX_MALLOC_THRESHOLD POSIX_OBJ POSIX_LOBJ POSIX_LIB LIBOBJS LTLIBOBJS'  ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA build build_cpu build_vendor build_os host host_cpu host_vendor host_os LN_S ECHO RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP CPP EGREP LIBTOOL BUILD_EXEEXT BUILD_OBJEXT CC_FOR_BUILD CFLAGS_FOR_BUILD EBCDIC HAVE_MEMMOVE HAVE_STRERROR LINK_SIZE MATCH_LIMIT NEWLINE NO_RECURSE PCRE_MAJOR PCRE_MINOR PCRE_DATE PCRE_VERSION PCRE_LIB_VERSION PCRE_POSIXLIB_VERSION POSIX_MALLOC_THRESHOLD UTF8 WIN_PREFIX ON_WINDOWS NOT_ON_WINDOWS POSIX_OBJ POSIX_LOBJ POSIX_LIB LIBOBJS LTLIBOBJS'
470  ac_subst_files=''  ac_subst_files=''
471    
472  # Initialize some variables set by options.  # Initialize some variables set by options.
# Line 942  if test "$ac_init_help" = "long"; then Line 942  if test "$ac_init_help" = "long"; then
942      # The list generated by autoconf has been trimmed to remove many      # The list generated by autoconf has been trimmed to remove many
943      # options that are totally irrelevant to PCRE (e.g. relating to X),      # options that are totally irrelevant to PCRE (e.g. relating to X),
944      # 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.  
945    # 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.
946    cat <<_ACEOF    cat <<_ACEOF
947  \`configure' configures this package to adapt to many kinds of systems.  \`configure' configures this package to adapt to many kinds of systems.
# Line 1009  Optional Features: Line 1006  Optional Features:
1006    --enable-utf8           enable UTF8 support    --enable-utf8           enable UTF8 support
1007    --enable-newline-is-cr  use CR as the newline character    --enable-newline-is-cr  use CR as the newline character
1008    --enable-newline-is-lf  use LF as the newline character    --enable-newline-is-lf  use LF as the newline character
1009      --enable-ebcdic         assume EBCDIC coding rather than ASCII
1010      --disable-stack-for-recursion  disable use of stack recursion when matching
1011    
1012  Optional Packages:  Optional Packages:
1013    --with-gnu-ld           assume the C compiler uses GNU ld default=no    --with-gnu-ld           assume the C compiler uses GNU ld default=no
# Line 1433  ac_compiler_gnu=$ac_cv_c_compiler_gnu Line 1432  ac_compiler_gnu=$ac_cv_c_compiler_gnu
1432    
1433    
1434    
1435    
1436    
1437    
1438            ac_config_headers="$ac_config_headers config.h:config.in"            ac_config_headers="$ac_config_headers config.h:config.in"
1439    
1440    
1441    
1442  PCRE_MAJOR=4  PCRE_MAJOR=4
1443  PCRE_MINOR=0  PCRE_MINOR=5
1444  PCRE_DATE=17-Feb-2003  PCRE_DATE=01-December-2003
1445  PCRE_VERSION=${PCRE_MAJOR}.${PCRE_MINOR}  PCRE_VERSION=${PCRE_MAJOR}.${PCRE_MINOR}
1446    
1447    
1448  POSIX_MALLOC_THRESHOLD=-DPOSIX_MALLOC_THRESHOLD=10  POSIX_MALLOC_THRESHOLD=-DPOSIX_MALLOC_THRESHOLD=10
 HOST_CC=${HOST_CC:-'$(CC)'}  
 HOST_CFLAGS=${HOST_CFLAGS:-'$(CFLAGS)'}  
1449    
1450    
1451  PCRE_LIB_VERSION=0:1:0  PCRE_LIB_VERSION=0:1:0
# Line 4007  test "x$enable_libtool_lock" != xno && e Line 4007  test "x$enable_libtool_lock" != xno && e
4007  case $host in  case $host in
4008  *-*-irix6*)  *-*-irix6*)
4009    # Find out which ABI we are using.    # Find out which ABI we are using.
4010    echo '#line 4011 "configure"' > conftest.$ac_ext    echo '#line 4014 "configure"' > conftest.$ac_ext
4011    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4012    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4013    ac_status=$?    ac_status=$?
# Line 4547  chmod -w . Line 4547  chmod -w .
4547  save_CFLAGS="$CFLAGS"  save_CFLAGS="$CFLAGS"
4548  CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"  CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
4549  compiler_c_o=no  compiler_c_o=no
4550  if { (eval echo configure:4551: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then  if { (eval echo configure:4554: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
4551    # The compiler can only warn and ignore the option if not recognized    # The compiler can only warn and ignore the option if not recognized
4552    # So say no if there are warnings    # So say no if there are warnings
4553    if test -s out/conftest.err; then    if test -s out/conftest.err; then
# Line 5102  else Line 5102  else
5102      ;;      ;;
5103    
5104    darwin* | rhapsody*)    darwin* | rhapsody*)
5105      # This patch put in by hand by PH (19-Feb-2003) for Darwin 1.3.      # This patch put in by hand by PH (10-Dec-2003) for Darwin 1.3.
5106      case "$host_os" in      case "$host_os" in
5107        rhapsody* | darwin1.[[012]])        rhapsody* | darwin1.[[012]])
5108         allow_undefined_flag='-undefined suppress'         allow_undefined_flag='-undefined suppress'
# Line 5112  else Line 5112  else
5112         ;;         ;;
5113      esac      esac
5114      # End of hand-inserted patch      # End of hand-inserted patch
5115    
5116      # FIXME: Relying on posixy $() will cause problems for      # FIXME: Relying on posixy $() will cause problems for
5117      #        cross-compilation, but unfortunately the echo tests do not      #        cross-compilation, but unfortunately the echo tests do not
5118      #        yet detect zsh echo's removal of \ escapes.      #        yet detect zsh echo's removal of \ escapes.
# Line 6217  else Line 6217  else
6217      lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2      lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
6218    lt_status=$lt_dlunknown    lt_status=$lt_dlunknown
6219    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6220  #line 6211 "configure"  #line 6214 "configure"
6221  #include "confdefs.h"  #include "confdefs.h"
6222    
6223  #if HAVE_DLFCN_H  #if HAVE_DLFCN_H
# Line 6315  else Line 6315  else
6315      lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2      lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
6316    lt_status=$lt_dlunknown    lt_status=$lt_dlunknown
6317    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6318  #line 6309 "configure"  #line 6312 "configure"
6319  #include "confdefs.h"  #include "confdefs.h"
6320    
6321  #if HAVE_DLFCN_H  #if HAVE_DLFCN_H
# Line 7045  LIBTOOL='$(SHELL) $(top_builddir)/libtoo Line 7045  LIBTOOL='$(SHELL) $(top_builddir)/libtoo
7045    
7046    
7047    
7048    CC_FOR_BUILD=${CC_FOR_BUILD:-'$(CC)'}
7049    CFLAGS_FOR_BUILD=${CFLAGS_FOR_BUILD:-'$(CFLAGS)'}
7050    BUILD_EXEEXT=${BUILD_EXEEXT:-'$(EXEEXT)'}
7051    BUILD_OBJEXT=${BUILD_OBJEXT:-'$(OBJEXT)'}
7052    
7053    
7054  echo "$as_me:$LINENO: checking for ANSI C header files" >&5  echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7055  echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6  echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
7056  if test "${ac_cv_header_stdc+set}" = set; then  if test "${ac_cv_header_stdc+set}" = set; then
# Line 7624  fi Line 7630  fi
7630  fi;  fi;
7631    
7632    
7633    # Check whether --enable-ebcdic or --disable-ebcdic was given.
7634    if test "${enable_ebcdic+set}" = set; then
7635      enableval="$enable_ebcdic"
7636      if test "$enableval" == "yes"; then
7637      EBCDIC=-DEBCDIC=1
7638    fi
7639    
7640    fi;
7641    
7642    # Check whether --enable-recursion or --disable-recursion was given.
7643    if test "${enable_recursion+set}" = set; then
7644      enableval="$enable_recursion"
7645      if test "$enableval" = "no"; then
7646      NO_RECURSE=-DNO_RECURSE
7647    fi
7648    
7649    fi;
7650    
7651    
7652    
7653    
7654  # Check whether --with-posix-malloc-threshold or --without-posix-malloc-threshold was given.  # Check whether --with-posix-malloc-threshold or --without-posix-malloc-threshold was given.
# Line 7672  fi; Line 7697  fi;
7697    
7698    
7699    
7700    
7701    
7702    
7703    
7704  case $host_os in  case $host_os in
7705  mingw* )  mingw* )
7706      POSIX_OBJ=pcreposix.o      POSIX_OBJ=pcreposix.o
7707      POSIX_LOBJ=pcreposix.lo      POSIX_LOBJ=pcreposix.lo
7708      POSIX_LIB=      POSIX_LIB=
7709        ON_WINDOWS=
7710        NOT_ON_WINDOWS="#"
7711        WIN_PREFIX=
7712      ;;      ;;
7713  * )  * )
7714        ON_WINDOWS="#"
7715        NOT_ON_WINDOWS=
7716      POSIX_OBJ=      POSIX_OBJ=
7717      POSIX_LOBJ=      POSIX_LOBJ=
7718      POSIX_LIB=libpcreposix.la      POSIX_LIB=libpcreposix.la
7719        WIN_PREFIX=
7720      ;;      ;;
7721  esac  esac
7722    
7723    
7724    
7725    
7726    
7727    
7728    
7729  if test "x$enable_shared" = "xno" ; then  if test "x$enable_shared" = "xno" ; then
7730      cat >>confdefs.h <<\_ACEOF  
7731    cat >>confdefs.h <<\_ACEOF
7732  #define PCRE_STATIC 1  #define PCRE_STATIC 1
7733  _ACEOF  _ACEOF
7734    
# Line 8342  s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t Line 8381  s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
8381  s,@CPP@,$CPP,;t t  s,@CPP@,$CPP,;t t
8382  s,@EGREP@,$EGREP,;t t  s,@EGREP@,$EGREP,;t t
8383  s,@LIBTOOL@,$LIBTOOL,;t t  s,@LIBTOOL@,$LIBTOOL,;t t
8384    s,@BUILD_EXEEXT@,$BUILD_EXEEXT,;t t
8385    s,@BUILD_OBJEXT@,$BUILD_OBJEXT,;t t
8386    s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
8387    s,@CFLAGS_FOR_BUILD@,$CFLAGS_FOR_BUILD,;t t
8388    s,@EBCDIC@,$EBCDIC,;t t
8389  s,@HAVE_MEMMOVE@,$HAVE_MEMMOVE,;t t  s,@HAVE_MEMMOVE@,$HAVE_MEMMOVE,;t t
8390  s,@HAVE_STRERROR@,$HAVE_STRERROR,;t t  s,@HAVE_STRERROR@,$HAVE_STRERROR,;t t
 s,@HOST_CC@,$HOST_CC,;t t  
 s,@HOST_CFLAGS@,$HOST_CFLAGS,;t t  
 s,@NEWLINE@,$NEWLINE,;t t  
8391  s,@LINK_SIZE@,$LINK_SIZE,;t t  s,@LINK_SIZE@,$LINK_SIZE,;t t
8392  s,@MATCH_LIMIT@,$MATCH_LIMIT,;t t  s,@MATCH_LIMIT@,$MATCH_LIMIT,;t t
8393  s,@UTF8@,$UTF8,;t t  s,@NEWLINE@,$NEWLINE,;t t
8394    s,@NO_RECURSE@,$NO_RECURSE,;t t
8395  s,@PCRE_MAJOR@,$PCRE_MAJOR,;t t  s,@PCRE_MAJOR@,$PCRE_MAJOR,;t t
8396  s,@PCRE_MINOR@,$PCRE_MINOR,;t t  s,@PCRE_MINOR@,$PCRE_MINOR,;t t
8397  s,@PCRE_DATE@,$PCRE_DATE,;t t  s,@PCRE_DATE@,$PCRE_DATE,;t t
# Line 8357  s,@PCRE_VERSION@,$PCRE_VERSION,;t t Line 8399  s,@PCRE_VERSION@,$PCRE_VERSION,;t t
8399  s,@PCRE_LIB_VERSION@,$PCRE_LIB_VERSION,;t t  s,@PCRE_LIB_VERSION@,$PCRE_LIB_VERSION,;t t
8400  s,@PCRE_POSIXLIB_VERSION@,$PCRE_POSIXLIB_VERSION,;t t  s,@PCRE_POSIXLIB_VERSION@,$PCRE_POSIXLIB_VERSION,;t t
8401  s,@POSIX_MALLOC_THRESHOLD@,$POSIX_MALLOC_THRESHOLD,;t t  s,@POSIX_MALLOC_THRESHOLD@,$POSIX_MALLOC_THRESHOLD,;t t
8402    s,@UTF8@,$UTF8,;t t
8403    s,@WIN_PREFIX@,$WIN_PREFIX,;t t
8404    s,@ON_WINDOWS@,$ON_WINDOWS,;t t
8405    s,@NOT_ON_WINDOWS@,$NOT_ON_WINDOWS,;t t
8406  s,@POSIX_OBJ@,$POSIX_OBJ,;t t  s,@POSIX_OBJ@,$POSIX_OBJ,;t t
8407  s,@POSIX_LOBJ@,$POSIX_LOBJ,;t t  s,@POSIX_LOBJ@,$POSIX_LOBJ,;t t
8408  s,@POSIX_LIB@,$POSIX_LIB,;t t  s,@POSIX_LIB@,$POSIX_LIB,;t t

Legend:
Removed from v.63  
changed lines
  Added in v.73

  ViewVC Help
Powered by ViewVC 1.1.5