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

Diff of /code/trunk/configure.in

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

revision 74 by nigel, Sat Feb 24 21:40:30 2007 UTC revision 75 by nigel, Sat Feb 24 21:40:37 2007 UTC
# Line 20  dnl macro, and may be treated as octal c Line 20  dnl macro, and may be treated as octal c
20  dnl digits for minor numbers less than 10. There are unlikely to be  dnl digits for minor numbers less than 10. There are unlikely to be
21  dnl that many releases anyway.  dnl that many releases anyway.
22    
23  PCRE_MAJOR=4  PCRE_MAJOR=5
24  PCRE_MINOR=5  PCRE_MINOR=0
25  PCRE_DATE=01-December-2003  PCRE_DATE=13-Sep-2004
26  PCRE_VERSION=${PCRE_MAJOR}.${PCRE_MINOR}  PCRE_VERSION=${PCRE_MAJOR}.${PCRE_MINOR}
27    
28  dnl Default values for miscellaneous macros  dnl Default values for miscellaneous macros
# Line 38  PCRE_POSIXLIB_VERSION=0:0:0 Line 38  PCRE_POSIXLIB_VERSION=0:0:0
38  dnl Checks for programs.  dnl Checks for programs.
39    
40  AC_PROG_CC  AC_PROG_CC
41    
42    dnl The icc compiler has the same options as gcc, so let the rest of the
43    dnl configure script think it has gcc when setting up dnl options etc.
44    dnl This is a nasty hack which no longer seems necessary with the update
45    dnl to the latest libtool files, so I have commented it out.
46    dnl
47    dnl if test "$CC" = "icc" ; then GCC=yes ; fi
48    
49  AC_PROG_INSTALL  AC_PROG_INSTALL
50  AC_LIBTOOL_WIN32_DLL  AC_LIBTOOL_WIN32_DLL
51  AC_PROG_LIBTOOL  AC_PROG_LIBTOOL
# Line 79  if test "$enableval" = "yes"; then Line 87  if test "$enableval" = "yes"; then
87  fi  fi
88  )  )
89    
90    dnl Handle --enable-unicode-properties
91    
92    AC_ARG_ENABLE(unicode-properties,
93    [  --enable-unicode-properties  enable Unicode properties support],
94    if test "$enableval" = "yes"; then
95      UCP=-DSUPPORT_UCP
96    fi
97    )
98    
99  dnl Handle --enable-newline-is-cr  dnl Handle --enable-newline-is-cr
100    
101  AC_ARG_ENABLE(newline-is-cr,  AC_ARG_ENABLE(newline-is-cr,
# Line 107  fi Line 124  fi
124  )  )
125    
126  dnl Handle --disable-stack-for-recursion  dnl Handle --disable-stack-for-recursion
127  AC_ARG_ENABLE(recursion,  
128    AC_ARG_ENABLE(stack-for-recursion,
129  [  --disable-stack-for-recursion  disable use of stack recursion when matching],  [  --disable-stack-for-recursion  disable use of stack recursion when matching],
130  if test "$enableval" = "no"; then  if test "$enableval" = "no"; then
131    NO_RECURSE=-DNO_RECURSE    NO_RECURSE=-DNO_RECURSE
# Line 143  dnl Now arrange to build libtool Line 161  dnl Now arrange to build libtool
161    
162  AC_PROG_LIBTOOL  AC_PROG_LIBTOOL
163    
164    dnl Unicode character property support implies UTF-8 support
165    
166    if test "$UCP" != "" ; then
167      UTF8=-DSUPPORT_UTF8
168    fi
169    
170  dnl "Export" these variables  dnl "Export" these variables
171    
172  AC_SUBST(BUILD_EXEEXT)  AC_SUBST(BUILD_EXEEXT)
# Line 163  AC_SUBST(PCRE_VERSION) Line 187  AC_SUBST(PCRE_VERSION)
187  AC_SUBST(PCRE_LIB_VERSION)  AC_SUBST(PCRE_LIB_VERSION)
188  AC_SUBST(PCRE_POSIXLIB_VERSION)  AC_SUBST(PCRE_POSIXLIB_VERSION)
189  AC_SUBST(POSIX_MALLOC_THRESHOLD)  AC_SUBST(POSIX_MALLOC_THRESHOLD)
190    AC_SUBST(UCP)
191  AC_SUBST(UTF8)  AC_SUBST(UTF8)
192    
193  dnl Stuff to make MinGW work better. Special treatment is no longer  dnl Stuff to make MinGW work better. Special treatment is no longer
# Line 198  if test "x$enable_shared" = "xno" ; then Line 223  if test "x$enable_shared" = "xno" ; then
223  fi  fi
224    
225  dnl This must be last; it determines what files are written as well as config.h  dnl This must be last; it determines what files are written as well as config.h
226  AC_OUTPUT(Makefile pcre.h:pcre.in pcre-config:pcre-config.in RunTest:RunTest.in,[chmod a+x RunTest pcre-config])  AC_OUTPUT(Makefile pcre.h:pcre.in pcre-config:pcre-config.in libpcre.pc:libpcre.pc.in RunTest:RunTest.in,[chmod a+x RunTest pcre-config])

Legend:
Removed from v.74  
changed lines
  Added in v.75

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12