# Process this file with autoconf to produce a configure script. AC_PREREQ(2.2.0) AC_INIT(rpk, 2.2.0,openpksd-bug@openpksd.org) AC_PREFIX_DEFAULT(/usr/local/bin) AC_PATH_PROG(RUBY,ruby,no,$PATH) if test "x$RUBY" = xno; then echo echo "Command \"ruby\" is required for installation...bye" exit 1 fi RUBYRES=`$RUBY -r open-uri -e 'print "checking for open-uri library... OK\n"'` if test "$RUBYRES" == "" ;then echo "Ruby can't load open-uri library...bye" exit 1 fi AC_CONFIG_FILES([Makefile]) AC_CONFIG_FILES([install.sh]) AC_OUTPUT