aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>1999-11-15 17:53:11 +0000
committerDaniel Veillard <veillard@src.gnome.org>1999-11-15 17:53:11 +0000
commitd7e200c0b039b215d2722b70626789176c2dc990 (patch)
tree5edd250fc109aa7bf93fb50d4e8b3284f482e6af /configure.in
parent10cb9000558f2c077f9f779882701d717215811a (diff)
downloadandroid_external_libxml2-d7e200c0b039b215d2722b70626789176c2dc990.tar.gz
android_external_libxml2-d7e200c0b039b215d2722b70626789176c2dc990.tar.bz2
android_external_libxml2-d7e200c0b039b215d2722b70626789176c2dc990.zip
closing bug #3163 by adding extra flags for the cc compiler on HP-uX, Daniel.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 5ac800ec..9123ea1a 100644
--- a/configure.in
+++ b/configure.in
@@ -103,6 +103,19 @@ XML_LIBDIR='-L${libdir}'
XML_INCLUDEDIR='-I${includedir}/gnome-xml'
XML_LIBS="-lxml $Z_LIBS $M_LIBS $LIBS"
+dnl
+dnl Workaround wor HP native compiler
+dnl http://bugs.gnome.org/db/31/3163.html
+dnl
+if test "${CC}" != "gcc" ; then
+ case "${host}" in
+ *-*-hpux* )
+ CFLAGS="${CFLAGS} -Wp,-H16800 -Ae"
+ ;;
+ esac
+fi
+AC_SUBST(CFLAGS)
+
AC_SUBST(XML_LIBDIR)
AC_SUBST(XML_LIBS)
AC_SUBST(XML_INCLUDEDIR)