]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
Fix the hppa2.0-hp-hpux10.20 -H case
authorHarlan Stenn <stenn@ntp.org>
Sat, 8 Jul 2006 07:04:02 +0000 (03:04 -0400)
committerHarlan Stenn <stenn@ntp.org>
Sat, 8 Jul 2006 07:04:02 +0000 (03:04 -0400)
bk: 44af58e299ObveKzcvdDPSg9oB5uDg

configure.ac
sntp/configure.ac

index 1f75cdb1e2fb8b75ed47d648cde7b2da952cd470..0ab58755db5ec75585829a23e2b13c8417c2c156 100644 (file)
@@ -36,10 +36,11 @@ case "$host" in
  *-*-amigaos)
     CFLAGS="$CFLAGS -Dfork=vfork -DSYS_AMIGA"
     ;;
- *-*-hpux10. # at least for hppa2.0-hp-hpux10.20
+ *-*-hpux10.*) # at least for hppa2.0-hp-hpux10.20
     case "$GCC" in
-     no)
-       CFLAGS="$CFLAGS -Wp,-H18816"
+     yes)
+       ;;
+     *) CFLAGS="$CFLAGS -Wp,-H18816"
        ;;
     esac
     ;;
index 1f3e507555c560277b418ba8fc4b42f7e946f745..5125d20175e432d49c40fd83925a89c94022d3d4 100644 (file)
@@ -78,10 +78,11 @@ AC_CHECK_FUNCS(sqrt, , AC_CHECK_LIB(m, sqrt))
 AC_CHECK_FUNCS([strrchr])
 
 case "$host" in
- *-*-hpux10. # at least for hppa2.0-hp-hpux10.20
+ *-*-hpux10.*) # at least for hppa2.0-hp-hpux10.20
     case "$GCC" in
-     no)
-       CFLAGS="$CFLAGS -Wp,-H18816"
+     yes)
+       ;;
+     *) CFLAGS="$CFLAGS -Wp,-H18816"
        ;;
     esac
     ;;