dnl Process this file with autoconf to produce a configure script
dnl
-AC_PREREG(2.13)
+AC_PREREQ(2.13)
AC_INIT(ldmain.c)
AC_CANONICAL_SYSTEM
AM_PROG_LIBTOOL
+AC_ARG_WITH(lib-path, [ --with-lib-path=dir1:dir2... set default LIB_PATH],LIB_PATH=$withval)
AC_ARG_ENABLE(targets,
[ --enable-targets alternative target configurations],
[case "${enableval}" in
build_warnings="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
AC_ARG_ENABLE(build-warnings,
-[ --enable-build-warnings Enable build-time compiler warnings if gcc is used],
+[ --enable-build-warnings enable build-time compiler warnings if gcc is used],
[case "${enableval}" in
yes) ;;
no) build_warnings="-w";;
AC_PROG_CC
AC_PROG_INSTALL
-ALL_LINGUAS="fr sv"
+ALL_LINGUAS="fr sv tr es da"
CY_GNU_GETTEXT
AC_EXEEXT
fi
AC_SUBST(EMULATION_OFILES)
AC_SUBST(EMUL_EXTRA_OFILES)
+AC_SUBST(LIB_PATH)
EMULATION_LIBPATH=$all_libpath
AC_SUBST(EMULATION_LIBPATH)