From: Harlan Stenn Date: Sat, 8 Jul 2006 07:04:02 +0000 (-0400) Subject: Fix the hppa2.0-hp-hpux10.20 -H case X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7de8735e44a573ad00c8467ddc0207c07caea1ce;p=thirdparty%2Fntp.git Fix the hppa2.0-hp-hpux10.20 -H case bk: 44af58e299ObveKzcvdDPSg9oB5uDg --- diff --git a/configure.ac b/configure.ac index 1f75cdb1e2..0ab58755db 100644 --- a/configure.ac +++ b/configure.ac @@ -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 ;; diff --git a/sntp/configure.ac b/sntp/configure.ac index 1f3e507555..5125d20175 100644 --- a/sntp/configure.ac +++ b/sntp/configure.ac @@ -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 ;;