/[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 375 by ph10, Fri Sep 5 16:42:28 2008 UTC revision 376 by ph10, Sun Mar 1 12:00:59 2009 UTC
# Line 7  dnl be defined as -RC2, for example. For Line 7  dnl be defined as -RC2, for example. For
7  dnl empty.  dnl empty.
8    
9  m4_define(pcre_major, [7])  m4_define(pcre_major, [7])
10  m4_define(pcre_minor, [8])  m4_define(pcre_minor, [9])
11  m4_define(pcre_prerelease, [])  m4_define(pcre_prerelease, [-RC1])
12  m4_define(pcre_date, [2008-09-05])  m4_define(pcre_date, [2009-02-27])
13    
14  # Libtool shared library interface versions (current:revision:age)  # Libtool shared library interface versions (current:revision:age)
15  m4_define(libpcre_version, [0:1:0])  m4_define(libpcre_version, [0:1:0])
# Line 539  DISTCHECK_CONFIGURE_FLAGS="--enable-cpp Line 539  DISTCHECK_CONFIGURE_FLAGS="--enable-cpp
539  AC_SUBST(DISTCHECK_CONFIGURE_FLAGS)  AC_SUBST(DISTCHECK_CONFIGURE_FLAGS)
540    
541  # Check that, if --enable-pcregrep-libz or --enable-pcregrep-libbz2 is  # Check that, if --enable-pcregrep-libz or --enable-pcregrep-libbz2 is
542  # specified, the relevant library is available. If so, add it to LIBS.  # specified, the relevant library is available.
543    
544  if test "$enable_pcregrep_libz" = "yes"; then  if test "$enable_pcregrep_libz" = "yes"; then
545    if test "$HAVE_ZLIB_H" != "1"; then    if test "$HAVE_ZLIB_H" != "1"; then
# Line 550  if test "$enable_pcregrep_libz" = "yes"; Line 550  if test "$enable_pcregrep_libz" = "yes";
550      echo "** Cannot --enable-pcregrep-libz because libz was not found"      echo "** Cannot --enable-pcregrep-libz because libz was not found"
551      exit 1      exit 1
552    fi    fi
553    if test "$LIBS" = ""; then LIBS=-lz; else LIBS="$LIBS -lz"; fi    LIBZ="-lz"
554  fi  fi
555    AC_SUBST(LIBZ)
556    
557  if test "$enable_pcregrep_libbz2" = "yes"; then  if test "$enable_pcregrep_libbz2" = "yes"; then
558    if test "$HAVE_BZLIB_H" != "1"; then    if test "$HAVE_BZLIB_H" != "1"; then
# Line 562  if test "$enable_pcregrep_libbz2" = "yes Line 563  if test "$enable_pcregrep_libbz2" = "yes
563      echo "** Cannot --enable-pcregrep-libbz2 because libbz2 was not found"      echo "** Cannot --enable-pcregrep-libbz2 because libbz2 was not found"
564      exit 1      exit 1
565    fi    fi
566    if test "$LIBS" = ""; then LIBS=-lbz2; else LIBS="$LIBS -lbz2"; fi    LIBBZ2="-lbz2"
567  fi  fi
568    AC_SUBST(LIBBZ2)
569    
570  # Similarly for --enable-pcretest-readline  # Similarly for --enable-pcretest-readline
571    
# Line 576  if test "$enable_pcretest_libreadline" = Line 578  if test "$enable_pcretest_libreadline" =
578      echo "** Cannot --enable-pcretest-readline because readline/history.h was not found."      echo "** Cannot --enable-pcretest-readline because readline/history.h was not found."
579      exit 1      exit 1
580    fi    fi
581    if test "$LIBS" = ""; then LIBS=-lreadline; else LIBS="$LIBS -lreadline"; fi    LIBREADLINE="-lreadline"
582  fi  fi
583    AC_SUBST(LIBREADLINE)
584    
585  # Produce these files, in addition to config.h.  # Produce these files, in addition to config.h.
586  AC_CONFIG_FILES(  AC_CONFIG_FILES(

Legend:
Removed from v.375  
changed lines
  Added in v.376

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12