AC_CHECK_FUNC([strsignal])
case $ac_cv_func_strsignal in no) AC_DECL_SYS_SIGLIST ;; esac
+AC_PROG_RANLIB
+
AC_CHECK_PROGS([AUTOM4TE], [autom4te])
dnl--------------------------------------------------------------------------
imagedir=$localstatedir/$PACKAGE_NAME; AC_SUBST(imagedir)
mdw_DEFINE_PATHS([
mdw_DEFINE_PATH([IMAGEDIR], [$imagedir])
- mdw_DEFINE_PATH([ETCDIR], [$sysconfdir])
+ mdw_DEFINE_PATH([ETCDIR], [$sysconfdir/$PACKAGE_NAME])
mdw_DEFINE_PATH([DATADIR], [$datadir/$PACKAGE_NAME])])
AC_ARG_ENABLE([imagedump],
AC_DEFUN([mdw_CHECK_LISP],
[AC_CHECK_PROGS([$1], [$2])
AC_ARG_VAR([$1], [Path to the $1 Lisp system.])
-case ,$enable_imagedump, in
- ,yes, | *,$2,*) dump=t ;;
+case $[]$1:,$enable_imagedump, in
+ :*) dump=nil ;;
+ *:,yes, | *:*,$2,*) dump=t ;;
*) dump=nil ;;
esac
AM_CONDITIONAL([DUMP_$1], [test $dump = t])])
gnu) AC_DEFINE([ECL_OPTIONS_GNU], [1],
[Define 1 if ECL uses GNU-style `--FOO' options]) ;;
esac
+ case $mdw_ecl_opts in
+ gnu) ECLOPT=-- ;;
+ trad) ECLOPT=- ;;
+ *) AC_MSG_ERROR([internal error: unexpected value for `$mdw_ecl_opts']) ;;
+ esac
fi
-case $mdw_ecl_opts in
- gnu) ECLOPT=-- ;;
- trad) ECLOPT=- ;;
- *) AC_MSG_ERROR([internal error: unexpected value for `$mdw_ecl_opts']) ;;
-esac
AC_SUBST([ECLOPT])
dnl--------------------------------------------------------------------------