- configure.in: fixed a couple of problems reported by

okiddle@yahoo.co.uk and allanc@chickenandporn.com when compiling
  without gcc on non linux platforms.
Daniel
This commit is contained in:
Daniel Veillard 2001-03-14 19:40:17 +00:00
parent 0a6c358bf3
commit d574f78fd0
2 changed files with 11 additions and 3 deletions

View File

@ -1,3 +1,9 @@
Wed Mar 14 20:34:02 CET 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
* configure.in: fixed a couple of problems reported by
okiddle@yahoo.co.uk and allanc@chickenandporn.com when compiling
without gcc on non linux platforms.
Wed Mar 14 20:13:54 CET 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
* doc/Makefile.am configure.in: yearke@eng.buffalo.edu suggested

View File

@ -157,12 +157,13 @@ dnl Workaround for HP native compiler
dnl http://bugs.gnome.org/db/31/3163.html
dnl
if test "${GCC}" != "yes" ; then
CFLAGS="${CFLAGS} -Wall "
case "${host}" in
*-*-hpux* )
CFLAGS="${CFLAGS} -Wp,-H30000"
;;
esac
else
CFLAGS="${CFLAGS} -Wall"
fi
case ${host} in
*-*-solaris*)
@ -320,8 +321,9 @@ AC_ARG_WITH(iconv, [ --with-iconv Add the ICONV support (on)])
if test "$with_iconv" = "no" ; then
echo Disabling ICONV support
WITH_ICONV=0
else
AC_CHECK_FUNC(iconv, , AC_CHECK_LIB(iconv, iconv))
else
AC_CHECK_HEADER(iconv.h,
AC_CHECK_FUNC(iconv, , AC_CHECK_LIB(iconv, iconv)))
if test "$have_iconv" != "" ; then
echo Iconv support not found
WITH_ICONV=0