Changeset 43 for trunk/configure.ac


Ignore:
Timestamp:
Jun 5, 2006, 9:18:36 PM (18 years ago)
Author:
rainer
Message:

Fix for ticket #19 (autoconf problem)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r40 r43  
    1 dnl We want to override the standard AC_INIT_PARSE_ARGS,
    2 dnl which requires replacing AC_INIT() with its expanded
    3 dnl content.
    4 dnl
    5 dnl include own macros
    6 dnl
    7 sinclude(acsite.m4)dnl
    8 sinclude(./aclocal.m4)dnl
    9 
    10 dnl
    11 dnl AC_INIT(samhain.c)
    12 dnl
    13 # Forbidden tokens and exceptions.
    14 m4_pattern_forbid([^_?A[CHUM]_])
    15 m4_pattern_forbid([_AC_])
    16 m4_pattern_forbid([^LIBOBJS$],
    17                   [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs. LIBOBJS'])
    18 # Actually reserved by M4sh.
    19 m4_pattern_allow([^AS_FLAGS$])
    20 AS_INIT
    21 dnl m4_ifval([$2], [_AC_INIT_PACKAGE($@)])
    22 _AC_INIT_DEFAULTS
    23 SH_INIT_PARSE_ARGS
    24 _AC_INIT_SRCDIR
    25 SH_INIT_HELP
    26 _AC_INIT_VERSION
    27 _AC_INIT_CONFIG_LOG
    28 _AC_INIT_PREPARE
    29 _AC_INIT_NOTICE
    30 _AC_INIT_COPYRIGHT
    31 m4_ifval([$2], , [m4_ifval([$1], [AC_CONFIG_SRCDIR([$1])])])dnl
     1
     2dnl We want to override the standard _AC_INIT_PARSE_ARGS
     3dnl
     4AU_ALIAS([_AC_INIT_PARSE_ARGS], [SH_INIT_PARSE_ARGS])
     5AU_ALIAS([_AC_INIT_help], [SH_INIT_HELP])
     6
     7AC_INIT(src/samhain.c)
     8
    329
    3310AC_ARG_VAR([LIBS],
Note: See TracChangeset for help on using the changeset viewer.