Module: ngircd.git
Branch: master
Commit: 34824abe0dbf86477ec77385ed97c25f0a2375d8
URL: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commit;h=34824abe…
Author: Alexander Barton <alex(a)barton.de>
Date: Tue Nov 12 00:25:28 2013 +0100
configure: clean up function definitions
---
configure.ng | 29 ++++++++++++++++-------------
1 file changed, 16 insertions(+), 13 deletions(-)
diff --git a/configure.ng b/configure.ng
index b9e9270..9a4cc99 100644
--- a/configure.ng
+++ b/configure.ng
@@ -75,23 +75,26 @@ AC_C_CONST
AC_C_INLINE
__ng_PROTOTYPES__
-# -- Hard coded system and compiler dependencies/features/options ... --
+# -- Function Definitions --
AC_DEFUN([GCC_STACK_PROTECT_CC],[
- ssp_cc=yes
- # we use -fstack-protector-all for the test to enfoce the use of the guard variable
- AC_MSG_CHECKING([whether ${CC} accepts -fstack-protector])
- ssp_old_cflags="$CFLAGS"
- CFLAGS="$CFLAGS -fstack-protector-all"
- AC_TRY_LINK(,,, ssp_cc=no)
- echo $ssp_cc
- CFLAGS="$ssp_old_cflags"
- if test "X$ssp_cc" = "Xyes"; then
- CFLAGS="$CFLAGS -fstack-protector"
- AC_DEFINE([ENABLE_SSP_CC], 1, [Define if SSP C support is enabled.])
- fi
+ ssp_cc=yes
+ # Use -fstack-protector-all for the test to enfoce the use of the
+ # guard variable
+ AC_MSG_CHECKING([whether ${CC} accepts -fstack-protector])
+ ssp_old_cflags="$CFLAGS"
+ CFLAGS="$CFLAGS -fstack-protector-all"
+ AC_TRY_LINK(,,, ssp_cc=no)
+ echo $ssp_cc
+ CFLAGS="$ssp_old_cflags"
+ if test "X$ssp_cc" = "Xyes"; then
+ CFLAGS="$CFLAGS -fstack-protector"
+ AC_DEFINE([ENABLE_SSP_CC], 1, [Define if SSP C support is enabled.])
+ fi
])
+# -- Hard coded system and compiler dependencies/features/options ... --
+
if test "$GCC" = "yes"; then
# We are using the GNU C compiler. Good!
CFLAGS="$CFLAGS -pipe -W -Wall -Wpointer-arith -Wstrict-prototypes"
Module: ngircd.git
Branch: master
Commit: df7ea9e7b4a3953e8ee2e60865e20984fbc3895a
URL: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commit;h=df7ea9e7…
Author: Alexander Barton <alex(a)barton.de>
Date: Tue Nov 12 00:33:30 2013 +0100
doc/Platforms.txt: add OpenBSD 5.4 on HPPA
---
doc/Platforms.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/doc/Platforms.txt b/doc/Platforms.txt
index 5d53451..b0b487b 100644
--- a/doc/Platforms.txt
+++ b/doc/Platforms.txt
@@ -31,6 +31,7 @@ armv6l/unk./linux-gnueabi gcc 4.7.2 20.2 13-03-08 goetz Y Y Y Y 5
armv6l/unk./linux-gnueabihf gcc 4.6.3 21~rc2 13-10-26 pi Y Y Y Y 5
armv7l/unk./linux-gnueabi gcc 4.4.3 19.1 12-04-29 goetz Y Y Y Y 5
hppa/unknown/openbsd3.5 gcc 2.95.3 CVSHEAD 04-05-25 alex Y Y Y Y
+hppa/unknown/openbsd5.4 gcc 4.2.1 21 13-11-10 alex Y Y Y Y 3
hppa1.1/unknown/linux-gnu gcc 3.3.3 0.8.0 04-05-30 alex Y Y Y Y
hppa2.0/unknown/linux-gnu gcc 3.3.5 13~rc1 08-12-02 alex Y Y Y Y
hppa2.0w-hp-hpux11.11 gcc 4.2.3 14.1 09-07-22 goetz Y Y Y Y