/[pcre]/code/tags/pcre-3.8/configure.in
ViewVC logotype

Diff of /code/tags/pcre-3.8/configure.in

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

revision 43 by nigel, Sat Feb 24 21:39:21 2007 UTC revision 57 by nigel, Sat Feb 24 21:39:50 2007 UTC
# Line 17  dnl digits for minor numbers less than 1 Line 17  dnl digits for minor numbers less than 1
17  dnl that many releases anyway.  dnl that many releases anyway.
18    
19  PCRE_MAJOR=3  PCRE_MAJOR=3
20  PCRE_MINOR=0  PCRE_MINOR=7
21  PCRE_DATE=01-Feb-2000  PCRE_DATE=29-Oct-2001
22  PCRE_VERSION=${PCRE_MAJOR}.${PCRE_MINOR}  PCRE_VERSION=${PCRE_MAJOR}.${PCRE_MINOR}
23    
24  dnl Provide versioning information for libtool shared libraries that  dnl Provide versioning information for libtool shared libraries that
25  dnl are built by default on Unix systems.  dnl are built by default on Unix systems.
26    
27  PCRE_LIB_VERSION=0:0:0  PCRE_LIB_VERSION=0:1:0
28  PCRE_POSIXLIB_VERSION=0:0:0  PCRE_POSIXLIB_VERSION=0:0:0
29    
30  dnl Checks for programs.  dnl Checks for programs.
31    
32  AC_PROG_CC  AC_PROG_CC
33    AC_PROG_INSTALL
34  AC_PROG_RANLIB  AC_PROG_RANLIB
35    
36  dnl Checks for header files.  dnl Checks for header files.
# Line 44  AC_TYPE_SIZE_T Line 45  AC_TYPE_SIZE_T
45    
46  dnl Checks for library functions.  dnl Checks for library functions.
47    
48  AC_CHECK_FUNCS(memmove strerror)  AC_CHECK_FUNCS(bcopy memmove strerror)
49    
50  dnl Handle --enable-shared-libraries  dnl Handle --enable-utf8
51    
52  LIBTOOL=libtool  AC_ARG_ENABLE(utf8,
53  LIBSUFFIX=la  [  --enable-utf8           enable UTF8 support (incomplete)],
54  AC_ARG_ENABLE(shared,  if test "$enableval" = "yes"; then
55  [  --disable-shared        build PCRE as a static library],    UTF8=-DSUPPORT_UTF8
 if test "$enableval" = "no"; then  
   LIBTOOL=  
   LIBSUFFIX=a  
56  fi  fi
57  )  )
58    
59    dnl Handle --enable-newline-is-cr
60    
61    AC_ARG_ENABLE(newline-is-cr,
62    [  --enable-newline-is-cr  use CR as the newline character],
63    if test "$enableval" = "yes"; then
64      NEWLINE=-DNEWLINE=13
65    fi
66    )
67    
68    dnl Handle --enable-newline-is-lf
69    
70    AC_ARG_ENABLE(newline-is-lf,
71    [  --enable-newline-is-lf  use LF as the newline character],
72    if test "$enableval" = "yes"; then
73      NEWLINE=-DNEWLINE=10
74    fi
75    )
76    
77    dnl Now arrange to build libtool
78    
79    AC_PROG_LIBTOOL
80    
81  dnl "Export" these variables  dnl "Export" these variables
82    
83  AC_SUBST(HAVE_MEMMOVE)  AC_SUBST(HAVE_MEMMOVE)
84  AC_SUBST(HAVE_STRERROR)  AC_SUBST(HAVE_STRERROR)
85  AC_SUBST(LIBTOOL)  AC_SUBST(NEWLINE)
86  AC_SUBST(LIBSUFFIX)  AC_SUBST(UTF8)
87  AC_SUBST(PCRE_MAJOR)  AC_SUBST(PCRE_MAJOR)
88  AC_SUBST(PCRE_MINOR)  AC_SUBST(PCRE_MINOR)
89  AC_SUBST(PCRE_DATE)  AC_SUBST(PCRE_DATE)
# Line 71  AC_SUBST(PCRE_VERSION) Line 91  AC_SUBST(PCRE_VERSION)
91  AC_SUBST(PCRE_LIB_VERSION)  AC_SUBST(PCRE_LIB_VERSION)
92  AC_SUBST(PCRE_POSIXLIB_VERSION)  AC_SUBST(PCRE_POSIXLIB_VERSION)
93    
94  dnl This must be last; it determines what files are written  dnl This must be last; it determines what files are written as well as config.h
95  AC_OUTPUT(Makefile pcre.h:pcre.in pcre-config,[chmod a+x pcre-config])  AC_OUTPUT(Makefile pcre.h:pcre.in pcre-config:pcre-config.in RunTest:RunTest.in,[chmod a+x RunTest pcre-config])

Legend:
Removed from v.43  
changed lines
  Added in v.57

  ViewVC Help
Powered by ViewVC 1.1.5