Remove support for HPUX, which is discontinued and does not provide a c++17 complaint compiler.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/77/head
Michele Calgaro 21 hours ago
parent 678372ad3c
commit 7159b97f19
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -116,11 +116,6 @@ AC_CHECK_PROG(GZIP_COMMAND, gzip, gzip)
AC_DEFINE_UNQUOTED(MAKE_COMMAND, "$gmake_prog", [GNU make command])
CXXFLAGS="$CXXFLAGS $KDE_DEFAULT_CXXFLAGS"
case $host_os in
hpux11*)
CPPFLAGS="$CPPFLAGS -D_PROTOTYPES"
;;
esac
dnl AC_CHECK_FILE([$tqt_includes/qassistantclient.h], [],[AC_MSG_ERROR([The qassistantclient.h header from Qt3 is needed to build tdevelop, on some systems this header is in a separate package called qt3-apps-dev])])

@ -24,7 +24,7 @@
**
**********************************************************************/
#include <tqvariant.h> // HP-UX compiler need this here
#include <tqvariant.h>
#include "orderindicator.h"
#include "formwindow.h"

@ -24,7 +24,7 @@
**
**********************************************************************/
#include <tqvariant.h> // HP-UX compiler needs this here
#include <tqvariant.h>
#include <kiconloader.h>
#include <kimageio.h>

@ -24,7 +24,7 @@
**
**********************************************************************/
#include <tqvariant.h> // HP-UX compiler needs this here
#include <tqvariant.h>
#include "propertyeditor.h"
#include "formwindow.h"

@ -24,7 +24,7 @@
**
**********************************************************************/
#include <tqvariant.h> // HP-UX compiler needs this here
#include <tqvariant.h>
#include "sizehandle.h"
#include "formwindow.h"

@ -24,7 +24,7 @@
**
**********************************************************************/
#include <tqvariant.h> // HP-UX compiler needs this here
#include <tqvariant.h>
#include "styledbutton.h"
#include "formwindow.h"
#include "pixmapchooser.h"

@ -24,7 +24,7 @@
**
**********************************************************************/
#include <tqvariant.h> // HP-UX compiler need this here
#include <tqvariant.h>
#include "widgetfactory.h"
#include <widgetdatabase.h>
#include "metadatabase.h"

@ -24,7 +24,7 @@
**
**********************************************************************/
#include <tqvariant.h> // HP-UX compiler needs this here
#include <tqvariant.h>
#include "workspace.h"
#include "formwindow.h"
#include "mainwindow.h"

@ -89,7 +89,6 @@ int main (int argc, char *argv[])
*/
{ FILE *fp = fopen("conf.sdlmmtest", "a"); if ( fp ) fclose(fp); }
/* HP/UX 9 (%@#!) writes to sscanf strings */
tmp_version = my_strdup("$min_sdlmm_version");
if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
printf("%s, bad version string\n", "$min_sdlmm_version");

@ -49,11 +49,6 @@
#include <unistd.h>
#include <errno.h>
#if defined (_HPUX_SOURCE)
#define _TERMIOS_INCLUDED
#include <bsdtty.h>
#endif
#include <tqintdict.h>
#include <tqsocketnotifier.h>
#include <tqstring.h>

@ -48,11 +48,6 @@
#include <time.h>
#include <unistd.h>
#if defined (_HPUX_SOURCE)
#define _TERMIOS_INCLUDED
#include <bsdtty.h>
#endif
#include <tqintdict.h>
#include <tqsocketnotifier.h>
#include <tqstring.h>

@ -36,7 +36,6 @@ egcs-1.1.2 Solaris 2.6,7 2.7.1a2
egcs-1.1.2 Linux 2.2, Solaris 2.6 2.7.1a2
gcc-2.95.2 Linux 2.2, Solaris 2.6,7 2.7.1a2
gcc-2.96 (20000527) Solaris 2.6 2.7.1a2
aCC A.01.21 HP-UX 10.20 2.7.0 no!
Visual C++ 6.0 PC 2.7.1a2 (warnings)
Intel C++ 4.0 NT 4.0 2.7.0
Borland 5.0 NT 4.0 2.7.0

@ -435,7 +435,7 @@ public:
/// Override this method to get more specific case handling
virtual int toLower(int c) const
{
// test on EOF_CHAR for buggy (?) STLPort tolower (or HPUX tolower?)
// test on EOF_CHAR for buggy STLPort tolower
// also VC++ 6.0 does this. (see fix 422 (is reverted by this fix)
// this one is more structural. Maybe make this configurable.
return (c == EOF_CHAR ? EOF_CHAR : tolower(c));

@ -74,7 +74,7 @@ if test $ac_cv_func_getmntent = yes; then
# Determine whether it's the one-argument variant or the two-argument one.
if test -z "$list_mounted_fs"; then
# 4.3BSD, SunOS, HP-UX, Dynix, Irix
# 4.3BSD, SunOS, Dynix, Irix
AC_MSG_CHECKING([for one-argument getmntent function])
AC_CACHE_VAL(fu_cv_sys_mounted_getmntent1,
[test $ac_cv_header_mntent_h = yes \

@ -87,7 +87,6 @@ int main ()
system ("touch conf.gnome_printtest");
/* HP/UX 9 (%@#!) writes to sscanf strings */
tmp_version = my_strdup("$min_gnome_print_version");
if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
printf("%s, bad version string\n", "$min_gnome_print_version");

@ -510,92 +510,6 @@ EOF
hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*)
echo m68k-hp-bsd4.4
exit ;;
9000/[34678]??:HP-UX:*:*)
HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
case "${UNAME_MACHINE}" in
9000/31? ) HP_ARCH=m68000 ;;
9000/[34]?? ) HP_ARCH=m68k ;;
9000/[678][0-9][0-9])
if [ -x /usr/bin/getconf ]; then
sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
case "${sc_cpu_version}" in
523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
532) # CPU_PA_RISC2_0
case "${sc_kernel_bits}" in
32) HP_ARCH="hppa2.0n" ;;
64) HP_ARCH="hppa2.0w" ;;
'') HP_ARCH="hppa2.0" ;; # HP-UX 10.20
esac ;;
esac
fi
if [ "${HP_ARCH}" = "" ]; then
eval $set_cc_for_build
sed 's/^ //' << EOF >$dummy.c
#define _HPUX_SOURCE
#include <stdlib.h>
#include <unistd.h>
int main ()
{
#if defined(_SC_KERNEL_BITS)
long bits = sysconf(_SC_KERNEL_BITS);
#endif
long cpu = sysconf (_SC_CPU_VERSION);
switch (cpu)
{
case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
case CPU_PA_RISC2_0:
#if defined(_SC_KERNEL_BITS)
switch (bits)
{
case 64: puts ("hppa2.0w"); break;
case 32: puts ("hppa2.0n"); break;
default: puts ("hppa2.0"); break;
} break;
#else /* !defined(_SC_KERNEL_BITS) */
puts ("hppa2.0"); break;
#endif
default: puts ("hppa1.0"); break;
}
exit (0);
}
EOF
(CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
test -z "$HP_ARCH" && HP_ARCH=hppa
fi ;;
esac
if [ ${HP_ARCH} = "hppa2.0w" ]
then
eval $set_cc_for_build
# hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating
# 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler
# generating 64-bit code. GNU and HP use different nomenclature:
#
# $ CC_FOR_BUILD=cc ./config.guess
# => hppa2.0w-hp-hpux11.23
# $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess
# => hppa64-hp-hpux11.23
if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
grep -q __LP64__
then
HP_ARCH="hppa2.0w"
else
HP_ARCH="hppa64"
fi
fi
echo ${HP_ARCH}-hp-hpux${HPUX_REV}
exit ;;
ia64:HP-UX:*:*)
HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
echo ia64-hp-hpux${HPUX_REV}
exit ;;
3050*:HI-UX:*:*)
eval $set_cc_for_build
sed 's/^ //' << EOF >$dummy.c
@ -1254,7 +1168,7 @@ main ()
printf ("arm-acorn-riscix\n"); exit (0);
#endif
#if defined (hp300) && !defined (hpux)
#if defined (hp300)
printf ("m68k-hp-bsd\n"); exit (0);
#endif

@ -650,10 +650,6 @@ case $basic_machine in
basic_machine=m68k-hp
os=-bsd
;;
hp300hpux)
basic_machine=m68k-hp
os=-hpux
;;
hp3k9[0-9][0-9] | hp9[0-9][0-9])
basic_machine=hppa1.0-hp
;;
@ -1303,7 +1299,7 @@ case $os in
# -sysv* is not here because it comes later, after sysvr4.
-gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
| -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
| -hpux* | -unos* | -luna* | -auroraux* | -solaris* \
| -unos* | -luna* | -auroraux* | -solaris* \
| -sym* | -kopensolaris* \
| -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
| -aos* | -aros* \
@ -1558,9 +1554,6 @@ case $basic_machine in
*-oki)
os=-proelf
;;
*-hp)
os=-hpux
;;
*-hitachi)
os=-hiux
;;
@ -1654,9 +1647,6 @@ case $basic_machine in
-beos*)
vendor=be
;;
-hpux*)
vendor=hp
;;
-mpeix*)
vendor=hp
;;

@ -104,7 +104,7 @@ gcc)
## Some versions of gcc put a space before the `:'. On the theory
## that the space means something, we add a space to the output as
## well.
## Some versions of the HPUX 10.20 sed can't process this invocation
## Some old versions of sed can't process this invocation
## correctly. Breaking it into two sed invocations is a workaround.
sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
rm -f "$tmpdepfile"
@ -263,7 +263,7 @@ dashmstdout)
cat < "$tmpdepfile" > "$depfile"
tr ' ' '
' < "$tmpdepfile" | \
## Some versions of the HPUX 10.20 sed can't process this invocation
## Some old versions of sed can't process this invocation
## correctly. Breaking it into two sed invocations is a workaround.
sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
rm -f "$tmpdepfile"
@ -307,7 +307,7 @@ makedepend)
cat < "$tmpdepfile" > "$depfile"
tail +3 "$tmpdepfile" | tr ' ' '
' | \
## Some versions of the HPUX 10.20 sed can't process this invocation
## Some old versions of sed can't process this invocation
## correctly. Breaking it into two sed invocations is a workaround.
sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
rm -f "$tmpdepfile" "$tmpdepfile".bak

@ -2481,8 +2481,6 @@ static const void *lt_preloaded_setup() {
# FreeBSD 2.2.6 and is fixed in FreeBSD 3.1.
*-*-freebsd2*|*-*-freebsd3.0*|*-*-freebsdelf3.0*)
pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND" ;;
*-*-hpux*)
pic_flag_for_symtable=" $pic_flag" ;;
*)
if test "X$my_pic_p" != Xno; then
pic_flag_for_symtable=" $pic_flag"
@ -2729,10 +2727,6 @@ else
fi
DUALCASE=1; export DUALCASE # for MKS sh
# The HP-UX ksh and POSIX shell print the target directory to stdout
# if CDPATH is set.
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
relink_command=\"$relink_command\"
# This environment variable determines our operation mode.

Loading…
Cancel
Save