Add -DHPPEX -DSHMLINK to CFLAGS for HP-UX. (#162979, Paul Cornett)

2005-07-07  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Add -DHPPEX -DSHMLINK to CFLAGS for HP-UX.
	(#162979, Paul Cornett)
This commit is contained in:
Matthias Clasen 2005-07-08 03:57:39 +00:00 committed by Matthias Clasen
parent b37d8bf8a6
commit d2742356a4
4 changed files with 23 additions and 0 deletions

View File

@ -1,5 +1,8 @@
2005-07-07 Matthias Clasen <mclasen@redhat.com>
* configure.in: Add -DHPPEX -DSHMLINK to CFLAGS for HP-UX.
(#162979, Paul Cornett)
* gtk/gtkhscale.c (gtk_hscale_new_with_range):
(gtk_vscale_new_with_range): Add some additional docs on
precision here too. (#309238, Steve Chaplin)

View File

@ -1,5 +1,8 @@
2005-07-07 Matthias Clasen <mclasen@redhat.com>
* configure.in: Add -DHPPEX -DSHMLINK to CFLAGS for HP-UX.
(#162979, Paul Cornett)
* gtk/gtkhscale.c (gtk_hscale_new_with_range):
(gtk_vscale_new_with_range): Add some additional docs on
precision here too. (#309238, Steve Chaplin)

View File

@ -1,5 +1,8 @@
2005-07-07 Matthias Clasen <mclasen@redhat.com>
* configure.in: Add -DHPPEX -DSHMLINK to CFLAGS for HP-UX.
(#162979, Paul Cornett)
* gtk/gtkhscale.c (gtk_hscale_new_with_range):
(gtk_vscale_new_with_range): Add some additional docs on
precision here too. (#309238, Steve Chaplin)

View File

@ -471,6 +471,20 @@ case $host in
;;
esac
#
# see bug 162979
#
AC_MSG_CHECKING(for HP-UX)
case $host_os in
hpux9* | hpux10* | hpux11*)
AC_MSG_RESULT(yes)
CFLAGS="$CFLAGS -DHPPEX -DSHMLINK"
;;
*)
AC_MSG_RESULT(no)
;;
esac
dnl NeXTStep cc seems to need this
AC_MSG_CHECKING([for extra flags for POSIX compliance])
AC_TRY_COMPILE([#include <dirent.h>], [DIR *dir;],