~swag/armagetronad/0.2.9-sty+ct+ap-fork

« back to all changes in this revision

Viewing changes to accustomdir.m4

  • Committer: z-man
  • Date: 2006-10-12 06:50:55 UTC
  • Revision ID: svn-v3-list-QlpoOTFBWSZTWZvbKhsAAAdRgAAQABK6798QIABURMgAAaeoNT1TxT1DQbKaeobXKiyAmlWT7Y5MkdJOtXDtB7w7DOGFBHiOBxaUIu7HQyyQSvxdyRThQkJvbKhs:7d95bf1e-0414-0410-9756-b78462a59f44:armagetronad%2Fbranches%2F0.2.8%2Farmagetronad:6219
Adapted to internal autoconf macro renaming from autoconf 2.59 to 2.60.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
m4_define([_m4_divert(PARSE_ARGS_MOREOPTS)], 19)
4
4
#m4_define([_m4_divert(PARSE_ARGS)],      20)
5
5
 
 
6
# old versions of autoconf define _AC_SRCPATHS, new (2.60 and later) use _AC_SRCDIRS.
 
7
# map the old macro to the new one.
 
8
m4_pattern_allow([_AC_SRCDIRS])
 
9
m4_ifdef([_AC_SRCDIRS],,[m4_define([_AC_SRCDIRS],[_AC_SRCPATHS([$1])])])
 
10
 
6
11
# _AC_INIT_PARSE_ARGS
7
12
# -------------------
8
13
m4_define([_AC_INIT_PARSE_ARGS],
549
554
  ac_popdir=`pwd`
550
555
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
551
556
    test -d $ac_dir || continue
552
 
    _AC_SRCPATHS(["$ac_dir"])
 
557
    _AC_SRCDIRS(["$ac_dir"])
553
558
    cd $ac_dir
554
559
    # Check for guested configure; otherwise get Cygnus style configure.
555
560
    if test -f $ac_srcdir/configure.gnu; then