"Fossies" - the Fresh Open Source Software Archive

Member "ngrep-1_47/regex-0.12/configure.in" (7 Sep 2017, 630 Bytes) of package /linux/misc/ngrep-1_47.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 dnl Process this file with autoconf to produce a configure script.
    2 AC_INIT(regex.c)
    3 
    4 AC_CANONICAL_SYSTEM
    5 
    6 AC_PROG_CC
    7 AC_PROG_INSTALL
    8 
    9 dnl I'm not sure if AC_AIX and AC_DYNIX_SEQ are really necessary.  The
   10 dnl Autoconf documentation isn't specific about which BSD functions they
   11 dnl provide.
   12 AC_AIX
   13 AC_DYNIX_SEQ
   14 AC_ISC_POSIX
   15 AC_MINIX
   16 
   17 AC_STDC_HEADERS
   18 AC_HAVE_HEADERS(string.h)
   19 
   20 AC_ALLOCA
   21 AC_CONST
   22 
   23 AC_PREFIX(gcc)
   24 
   25 case "$target_os" in 
   26 
   27 *darwin*)
   28 	AC_DEFINE(regcomp,  regcomp1)
   29 	AC_DEFINE(regexec,  regexec1)
   30 	AC_DEFINE(regfree,  regfree1)
   31 	AC_DEFINE(regerror, regerror1)
   32 
   33 	;;
   34 
   35 esac
   36 
   37 AC_OUTPUT(Makefile doc/Makefile test/Makefile)