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

Diff of /code/trunk/configure.ac

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

revision 87 by nigel, Sat Feb 24 21:41:21 2007 UTC revision 93 by nigel, Sat Feb 24 21:41:42 2007 UTC
# Line 10  dnl This is required at the start; the n Line 10  dnl This is required at the start; the n
10  dnl it should be seeing, to verify it is in the same directory.  dnl it should be seeing, to verify it is in the same directory.
11    
12  AC_INIT(dftables.c)  AC_INIT(dftables.c)
13    AC_CONFIG_SRCDIR([pcre.h])
14    
15  dnl A safety precaution  dnl A safety precaution
16    
# Line 33  PCRE_CPPLIB_VERSION=0:0:0 Line 34  PCRE_CPPLIB_VERSION=0:0:0
34  dnl Find the PCRE version from the pcre.h file. The PCRE_VERSION variable is  dnl Find the PCRE version from the pcre.h file. The PCRE_VERSION variable is
35  dnl substituted in pcre-config.in.  dnl substituted in pcre-config.in.
36    
37  PCRE_MAJOR=`grep '#define PCRE_MAJOR' ./pcre.h | cut -c 29-`  PCRE_MAJOR=`grep '#define PCRE_MAJOR' ${srcdir}/pcre.h | cut -c 29-`
38  PCRE_MINOR=`grep '#define PCRE_MINOR' ./pcre.h | cut -c 29-`  PCRE_MINOR=`grep '#define PCRE_MINOR' ${srcdir}/pcre.h | cut -c 29-`
39  PCRE_PRERELEASE=`grep '#define PCRE_PRERELEASE' ./pcre.h | cut -c 29-`  PCRE_PRERELEASE=`grep '#define PCRE_PRERELEASE' ${srcdir}/pcre.h | cut -c 29-`
40  PCRE_VERSION=${PCRE_MAJOR}.${PCRE_MINOR}${PCRE_PRERELEASE}  PCRE_VERSION=${PCRE_MAJOR}.${PCRE_MINOR}${PCRE_PRERELEASE}
41    
42  dnl Handle --disable-cpp  dnl Handle --disable-cpp
# Line 175  if test "$enableval" = "yes"; then Line 176  if test "$enableval" = "yes"; then
176  fi  fi
177  )  )
178    
179    dnl Handle --enable-newline-is-crlf
180    
181    AC_ARG_ENABLE(newline-is-crlf,
182    [  --enable-newline-is-crlf  use CRLF as the newline sequence],
183    if test "$enableval" = "yes"; then
184      NEWLINE=-DNEWLINE=3338
185    fi
186    )
187    
188    dnl Handle --enable-newline-is-any
189    
190    AC_ARG_ENABLE(newline-is-any,
191    [  --enable-newline-is-any  use any Unicode newline sequence],
192    if test "$enableval" = "yes"; then
193      NEWLINE=-DNEWLINE=-1
194    fi
195    )
196    
197  dnl Handle --enable-ebcdic  dnl Handle --enable-ebcdic
198    
199  AC_ARG_ENABLE(ebcdic,  AC_ARG_ENABLE(ebcdic,
200  [  --enable-ebcdic         assume EBCDIC coding rather than ASCII],  [  --enable-ebcdic         assume EBCDIC coding rather than ASCII],
201  if test "$enableval" == "yes"; then  if test "$enableval" = "yes"; then
202    EBCDIC=-DEBCDIC=1    EBCDIC=-DEBCDIC=1
203  fi  fi
204  )  )
# Line 289  if test "x$enable_shared" = "xno" ; then Line 308  if test "x$enable_shared" = "xno" ; then
308  fi  fi
309    
310  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
311  AC_OUTPUT(Makefile pcre-config:pcre-config.in libpcre.pc:libpcre.pc.in pcrecpparg.h:pcrecpparg.h.in pcre_stringpiece.h:pcre_stringpiece.h.in RunGrepTest:RunGrepTest.in RunTest:RunTest.in,[chmod a+x RunTest RunGrepTest pcre-config])  AC_OUTPUT(Makefile pcre-config:pcre-config.in libpcre.pc:libpcre.pc.in libpcrecpp.pc:libpcrecpp.pc.in pcrecpparg.h:pcrecpparg.h.in pcre_stringpiece.h:pcre_stringpiece.h.in RunGrepTest:RunGrepTest.in RunTest:RunTest.in,[chmod a+x RunTest RunGrepTest pcre-config])

Legend:
Removed from v.87  
changed lines
  Added in v.93

  ViewVC Help
Powered by ViewVC 1.1.5