Ticket #50421: patch-configure.ac.diff

File patch-configure.ac.diff, 1.0 KB (added by akkornel (A. Karl Kornel), 8 years ago)

Updated configure.ac patch, based on what got committed upstream

  • configure.ac

    old new AC_ARG_WITH([wallet-port], 
    4545        [AC_DEFINE_UNQUOTED([WALLET_PORT], [$withval],
    4646            [Define to the default server port.])])])
    4747
     48dnl Determine the path to the Perl binary.
     49AC_ARG_VAR([PERL], [Path to the Perl binary])
     50AC_PATH_PROG([PERL], [perl])
     51AS_IF([test -z "$PERL"],
     52    [AC_MSG_ERROR([Could not find Perl binary (set PERL to the full path)])])
     53AS_IF(["$PERL" -e 'require 5.008'], [:],
     54    [AC_MSG_ERROR([Perl 5.8 or better is required])])
     55
    4856dnl Probe for required libraries.
    4957RRA_LIB_REMCTL
    5058RRA_LIB_KRB5
    AC_CONFIG_FILES([tests/client/basic-t], [chmod +x tests/client/basic-t]) 
    9098AC_CONFIG_FILES([tests/client/full-t], [chmod +x tests/client/full-t])
    9199AC_CONFIG_FILES([tests/client/prompt-t], [chmod +x tests/client/prompt-t])
    92100AC_CONFIG_FILES([tests/client/rekey-t], [chmod +x tests/client/rekey-t])
     101AC_CONFIG_COMMANDS([server], [test -d server || mkdir server])
    93102AC_CONFIG_COMMANDS([tests/config],
    94103    [test -d tests/config || mkdir tests/config])
    95104AC_OUTPUT