Ignore:
Timestamp:
Nov 29, 2006, 3:00:10 AM (16 years ago)
Author:
jbarnold
Message:
improved package autoconf macros
File:
1 edited

Legend:

Unmodified
Added
Removed
  • server/common/oursrc/tokensys/configure.in

    r36 r38  
    11AC_INIT()
     2
     3AC_DEFUN(REQUIRE_PATH,[
     4AC_SUBST($1_path)
     5if test "[$]$1_path" = ""; then
     6        AC_ERROR(Cannot find $1)
     7fi
     8])
    29
    310AC_ARG_WITH(kinit,
     
    714  fi
    815])
    9 AC_SUBST(kinit_path)
    10 if test "$kinit_path" = ""; then
    11         AC_ERROR(Cannot find kinit)
    12 fi
     16REQUIRE_PATH(kinit)
    1317
    1418AC_ARG_WITH(aklog,
     
    1822  fi
    1923])
    20 AC_SUBST(aklog_path)
    21 if test "$aklog_path" = ""; then
    22         AC_ERROR(Cannot find aklog)
    23 fi
     24REQUIRE_PATH(aklog)
    2425
    2526AC_OUTPUT(Makefile)
Note: See TracChangeset for help on using the changeset viewer.