summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorRene Engelhard <rene@debian.org>2012-09-27 19:51:33 +0200
committerRene Engelhard <rene@debian.org>2012-09-27 22:45:03 +0200
commitc0fb5ed758c9ed8c1bb6b8344592c4781f475443 (patch)
tree92537d1c439601a5360115c2a31b86f9c289eb3e /configure.in
parent4e6907b5d526241c93767fd25d8c2866c034a8d8 (diff)
add --with-system-ucpp
Change-Id: Ic322d1be23033049fa3b5cd60c00479bb6cae3ca
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 37c5f0991d84..09fb9cb6a186 100644
--- a/configure.in
+++ b/configure.in
@@ -1383,6 +1383,11 @@ AC_ARG_WITH(system-icu,
[Use icu already on system.]),,
[with_system_icu="$with_system_libs"])
+AC_ARG_WITH(system-ucpp,
+ AS_HELP_STRING([--with-system-ucpp],
+ [Use ucpp already on system.]),,
+ [])
+
AC_ARG_WITH(system-openldap,
AS_HELP_STRING([--with-system-openldap],
[Use the OpenLDAP LDAP SDK already on system.]),,
@@ -6313,6 +6318,16 @@ else
fi
AC_SUBST(BUILD_DMAKE)
+AC_MSG_CHECKING([which ucpp tp use])
+if test -n "$with_system_ucpp" -a "$with_system_ucpp" != "no"; then
+ AC_MSG_RESULT([external])
+ AC_PATH_PROG(SYSTEM_UCPP, ucpp)
+else
+ AC_MSG_RESULT([internal])
+ BUILD_TYPE="$BUILD_TYPE UCPP"
+fi
+AC_SUBST(SYSTEM_UCPP)
+
dnl ===================================================================
dnl Check for epm (not needed for Windows)
dnl ===================================================================