2009-02-02 12:50:53 -06:00
|
|
|
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])
|
|
|
|
|
2010-11-24 16:39:46 -06:00
|
|
|
AM_INIT_AUTOMAKE([foreign])
|
2009-02-02 12:50:53 -06:00
|
|
|
|
|
|
|
AM_MAINTAINER_MODE
|
|
|
|
#AC_PROG_CC
|
|
|
|
#AC_STDC_HEADERS
|
|
|
|
#AC_DISABLE_STATIC
|
|
|
|
|
|
|
|
#AC_HEADER_STDC
|
|
|
|
|
|
|
|
AC_SUBST(VERSION)
|
2013-08-13 01:10:01 -05:00
|
|
|
AC_SUBST([INSTALL_DATA], ['$(INSTALL) -m 644 -p'])
|
2009-02-02 12:50:53 -06:00
|
|
|
|
2010-02-09 12:14:25 -06:00
|
|
|
AC_PROG_MKDIR_P
|
2010-02-16 09:24:31 -06:00
|
|
|
AC_PROG_AWK
|
|
|
|
AC_PROG_SED
|
2010-02-09 12:14:25 -06:00
|
|
|
|
|
|
|
AC_PATH_PROG(XGETTEXT, xgettext, [no])
|
|
|
|
if test "x$XGETTEXT" = "xno"; then
|
|
|
|
AC_MSG_ERROR([xgettext not found, install gettext])
|
2011-08-17 17:27:45 -05:00
|
|
|
fi
|
2010-02-09 12:14:25 -06:00
|
|
|
|
|
|
|
AC_PATH_PROG(MSGFMT, msgfmt, [no])
|
|
|
|
if test "x$MSGFMT" = "xno"; then
|
|
|
|
AC_MSG_ERROR([msgfmt not found, install gettext])
|
2011-08-17 17:27:45 -05:00
|
|
|
fi
|
2010-02-09 12:14:25 -06:00
|
|
|
|
|
|
|
AC_PATH_PROG(MSGINIT, msginit, [no])
|
|
|
|
if test "x$MSGINIT" = "xno"; then
|
|
|
|
AC_MSG_ERROR([msginit not found, install gettext])
|
2011-08-17 17:27:45 -05:00
|
|
|
fi
|
2010-02-09 12:14:25 -06:00
|
|
|
|
|
|
|
AC_PATH_PROG(MSGMERGE, msgmerge, [no])
|
|
|
|
if test "x$MSGMERGE" = "xno"; then
|
|
|
|
AC_MSG_ERROR([msgmerge not found, install gettext])
|
2011-08-17 17:27:45 -05:00
|
|
|
fi
|
2010-02-09 12:14:25 -06:00
|
|
|
|
2010-02-16 09:24:31 -06:00
|
|
|
AC_PATH_PROG(MSGCMP, msgcmp, [no])
|
|
|
|
if test "x$MSGCMP" = "xno"; then
|
|
|
|
AC_MSG_ERROR([msgcmp not found, install gettext])
|
|
|
|
fi
|
|
|
|
|
2012-06-20 05:38:16 -05:00
|
|
|
AC_PATH_PROG(MSGATTRIB, msgattrib, [no])
|
|
|
|
if test "x$MSGATTRIB" = "xno"; then
|
|
|
|
AC_MSG_ERROR([msgattrib not found, install gettext])
|
|
|
|
fi
|
|
|
|
|
2011-08-17 17:27:45 -05:00
|
|
|
AC_PATH_PROG(TX, tx, [/usr/bin/tx])
|
|
|
|
|
2010-02-09 12:14:25 -06:00
|
|
|
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)
|
|
|
|
|
2009-02-02 12:50:53 -06:00
|
|
|
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
|
2012-07-11 14:51:01 -05:00
|
|
|
certmonger/Makefile
|
2009-02-02 12:50:53 -06:00
|
|
|
conf/Makefile
|
2012-10-02 09:47:28 -05:00
|
|
|
ffextension/Makefile
|
|
|
|
ffextension/chrome/Makefile
|
|
|
|
ffextension/chrome/content/Makefile
|
|
|
|
ffextension/locale/Makefile
|
|
|
|
ffextension/locale/en-US/Makefile
|
2009-02-02 12:50:53 -06:00
|
|
|
html/Makefile
|
2010-01-12 09:40:09 -06:00
|
|
|
migration/Makefile
|
2009-02-02 12:50:53 -06:00
|
|
|
share/Makefile
|
2013-08-01 07:12:39 -05:00
|
|
|
share/advise/Makefile
|
|
|
|
share/advise/legacy/Makefile
|
2015-05-11 20:17:48 -05:00
|
|
|
share/profiles/Makefile
|
2011-01-19 11:26:14 -06:00
|
|
|
ui/Makefile
|
2013-10-10 06:41:31 -05:00
|
|
|
ui/css/Makefile
|
2012-11-23 10:19:37 -06:00
|
|
|
ui/src/Makefile
|
|
|
|
ui/src/libs/Makefile
|
2011-10-26 16:06:17 -05:00
|
|
|
ui/images/Makefile
|
2012-11-23 10:19:37 -06:00
|
|
|
ui/build/Makefile
|
|
|
|
ui/build/dojo/Makefile
|
|
|
|
ui/build/freeipa/Makefile
|
2009-02-02 12:50:53 -06:00
|
|
|
tools/Makefile
|
|
|
|
tools/man/Makefile
|
|
|
|
updates/Makefile
|
2010-02-09 12:14:25 -06:00
|
|
|
po/Makefile
|
2012-04-10 14:21:08 -05:00
|
|
|
restart_scripts/Makefile
|
2013-04-23 12:54:21 -05:00
|
|
|
wsgi/Makefile
|
2015-06-05 07:57:02 -05:00
|
|
|
oddjob/Makefile
|
2009-02-02 12:50:53 -06:00
|
|
|
])
|
|
|
|
|
|
|
|
AC_OUTPUT
|