mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-23 15:40:01 -06:00
4461a74403
A new directory install/po has been added which contains all the translations for all files in IPA. The build has been agumented to build these files. Also the autogen.sh script was mostly replaced by autoreconf, the preferred method. The old autogen.sh sript also had some serious bugs in the way it compared versions which caused it to run old versions of some of the tools, using standared autoreconf is much better.
75 lines
1.9 KiB
Plaintext
75 lines
1.9 KiB
Plaintext
AC_PREREQ(2.59)
|
|
m4_include(../version.m4)
|
|
AC_INIT([ipa-server],
|
|
IPA_VERSION,
|
|
[https://hosted.fedoraproject.org/projects/freeipa/newticket])
|
|
|
|
#AC_CONFIG_SRCDIR([ipaserver/ipaldap.py])
|
|
AC_CONFIG_HEADERS([config.h])
|
|
|
|
AM_INIT_AUTOMAKE
|
|
|
|
AM_MAINTAINER_MODE
|
|
#AC_PROG_CC
|
|
#AC_STDC_HEADERS
|
|
#AC_DISABLE_STATIC
|
|
#AC_PROG_LIBTOOL
|
|
|
|
#AC_HEADER_STDC
|
|
|
|
AC_SUBST(VERSION)
|
|
|
|
AC_PROG_MKDIR_P
|
|
|
|
AC_PATH_PROG(XGETTEXT, xgettext, [no])
|
|
if test "x$XGETTEXT" = "xno"; then
|
|
AC_MSG_ERROR([xgettext not found, install gettext])
|
|
fi
|
|
|
|
AC_PATH_PROG(MSGFMT, msgfmt, [no])
|
|
if test "x$MSGFMT" = "xno"; then
|
|
AC_MSG_ERROR([msgfmt not found, install gettext])
|
|
fi
|
|
|
|
AC_PATH_PROG(MSGINIT, msginit, [no])
|
|
if test "x$MSGINIT" = "xno"; then
|
|
AC_MSG_ERROR([msginit not found, install gettext])
|
|
fi
|
|
|
|
AC_PATH_PROG(MSGMERGE, msgmerge, [no])
|
|
if test "x$MSGMERGE" = "xno"; then
|
|
AC_MSG_ERROR([msgmerge not found, install gettext])
|
|
fi
|
|
|
|
AC_ARG_WITH([gettext_domain],
|
|
[AS_HELP_STRING([--with-gettext-domain=name],
|
|
[set the name of the i18n message catalog])],
|
|
[],
|
|
[with_gettext_domain=ipa])
|
|
AC_SUBST(GETTEXT_DOMAIN, $with_gettext_domain)
|
|
|
|
dnl ---------------------------------------------------------------------------
|
|
dnl - Set the data install directory since we don't use pkgdatadir
|
|
dnl ---------------------------------------------------------------------------
|
|
|
|
IPA_DATA_DIR="$datadir/ipa"
|
|
IPA_SYSCONF_DIR="$sysconfdir/ipa"
|
|
AC_SUBST(IPA_DATA_DIR)
|
|
AC_SUBST(IPA_SYSCONF_DIR)
|
|
|
|
# Files
|
|
|
|
AC_CONFIG_FILES([
|
|
Makefile
|
|
conf/Makefile
|
|
html/Makefile
|
|
migration/Makefile
|
|
share/Makefile
|
|
tools/Makefile
|
|
tools/man/Makefile
|
|
updates/Makefile
|
|
po/Makefile
|
|
])
|
|
|
|
AC_OUTPUT
|