34 lines
1011 B
Plaintext
34 lines
1011 B
Plaintext
|
|
dnl Define a config.h string from a configure directory variable.
|
|
AC_DEFUN([AC_DEFINE_DIR], [
|
|
prefix_NONE=
|
|
exec_prefix_NONE=
|
|
test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
|
|
test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
|
|
ac_define_dir=`eval echo [$]$2`
|
|
ac_define_dir=`eval echo [$]ac_define_dir`
|
|
AC_DEFINE_UNQUOTED([$1], ["$ac_define_dir"], [$3])
|
|
test "$prefix_NONE" && prefix=NONE
|
|
test "$exec_prefix_NONE" && exec_prefix=NONE
|
|
])
|
|
|
|
AC_INIT([ipx-utils], [1.2], [mario.fetka@disconnected-by-peer.at])
|
|
AM_GNU_GETTEXT([external])
|
|
AM_GNU_GETTEXT_VERSION([0.21])
|
|
|
|
AM_INIT_AUTOMAKE([subdir-objects])
|
|
AC_CONFIG_SRCDIR([src/ipx_configure.c])
|
|
AC_CONFIG_HEADERS([config.h])
|
|
|
|
AC_CONFIG_FILES([Makefile po/Makefile.in])
|
|
|
|
AC_CHECK_HEADERS([libintl.h])
|
|
AC_SEARCH_LIBS([gettext], [intl])
|
|
AC_CHECK_FUNCS([gettext bindtextdomain textdomain])
|
|
AC_DEFINE_DIR([LOCALEDIR], [localedir], [Define location of message catalogs])
|
|
|
|
AC_PROG_CC
|
|
AM_PROG_CC_C_O
|
|
|
|
AC_OUTPUT
|