remove OSF1 support

This commit is contained in:
chase
2018-05-24 14:50:03 -05:00
committed by Jon Trulson
parent 3c1736f077
commit 164e695cd0
325 changed files with 290 additions and 9980 deletions

View File

@@ -7,11 +7,7 @@ CPP_DEFINES = -DCDE_INSTALLATION_TOP=$(CDE_INSTALLATION_TOP) \
#if defined (SunArchitecture)
LOCAL_CPP_DEFINES = $(CPP_DEFINES) -D__sun
#else
# if defined (AlphaArchitecture)
LOCAL_CPP_DEFINES = $(CPP_DEFINES) -D__osf__
# else
LOCAL_CPP_DEFINES = $(CPP_DEFINES)
# endif
#endif
all:: dtprintegrate dtlp dtlpsetup

View File

@@ -1045,14 +1045,7 @@ GetAvailPrinters()
HASH
tmpfile=$DTLPDIR/printers$$
#if defined(__osf__)
LANG=C lpstat -p | \
awk -F":" \
'/^.*:/ { PTRNAME = $1; QUEUING = 0 } \
/^Queuing is enabled/ { QUEUING = 1 } \
/^Printing is enabled/ {if (QUEUING == 1) print PTRNAME}' | \
sort | uniq > $tmpfile 2>&1
#elif defined(_AIX)
#if defined(_AIX)
LANG=C lpstat -p | \
grep READY | cut -f1 -d" " | \
sort | uniq > $tmpfile 2>&1