1997-06-29 09:29:21 +00:00
|
|
|
--- configure.orig Wed Dec 13 13:46:18 1995
|
|
|
|
+++ configure Sun Jun 29 02:25:13 1997
|
1997-06-26 11:28:36 +00:00
|
|
|
@@ -77,6 +77,7 @@
|
|
|
|
XINCL=/usr/include
|
|
|
|
if [ -d /usr/X11/include/X11 ]; then XINCL=/usr/X11/include; fi
|
|
|
|
if [ -d /usr/openwin/include/X11 ]; then XINCL=/usr/openwin/include; fi
|
|
|
|
+if [ -d /usr/X11R6/include/X11 ]; then XINCL=/usr/X11R6/include; fi
|
|
|
|
if [ ! -d $XINCL/X11 ]; then XINCL=; fi
|
|
|
|
|
|
|
|
XTANGO=/home/sr/xtango/include
|
1997-06-29 09:29:21 +00:00
|
|
|
@@ -125,6 +126,19 @@
|
1997-06-26 11:28:36 +00:00
|
|
|
LIBM="-lm -lc"
|
|
|
|
fi
|
|
|
|
|
|
|
|
+# on FreeBSD, set X11R6 library
|
|
|
|
+if [ "`(uname -s) 2>/dev/null`" = "FreeBSD" ]; then
|
|
|
|
+ LIBR="-L/usr/X11R6/lib"
|
|
|
|
+fi
|
1997-06-29 09:29:21 +00:00
|
|
|
+# on OpenBSD, set X11R6 library
|
|
|
|
+if [ "`(uname -s) 2>/dev/null`" = "OpenBSD" ]; then
|
|
|
|
+ LIBR="-L/usr/X11R6/lib"
|
|
|
|
+fi
|
|
|
|
+# on NetBSD, set X11R6 library
|
|
|
|
+if [ "`(uname -s) 2>/dev/null`" = "NetBSD" ]; then
|
|
|
|
+ LIBR="-L/usr/X11R6/lib"
|
|
|
|
+fi
|
1997-06-26 11:28:36 +00:00
|
|
|
+
|
|
|
|
# if this looks like an Arizona system, use our srmap file
|
|
|
|
if grep -s '^gmt:[^:]*:0*28:0*46:' /etc/passwd >/dev/null; then
|
|
|
|
SRMAP=srmap.az
|
1997-06-29 09:29:21 +00:00
|
|
|
@@ -174,11 +188,27 @@
|
1997-06-26 11:28:36 +00:00
|
|
|
MAN5=/usr/man/local/man5
|
|
|
|
MANEXT=1
|
|
|
|
else
|
|
|
|
+ if [ -d /usr/local/man ]; then
|
|
|
|
+ MAN1=/usr/local/man/man1
|
|
|
|
+ MAN3=/usr/local/man/man3
|
|
|
|
+ MAN5=/usr/local/man/man5
|
|
|
|
+ MANEXT=1
|
|
|
|
+ else
|
|
|
|
MAN1=/usr/man/manl
|
|
|
|
MAN3=/usr/man/manl
|
|
|
|
MAN5=/usr/man/manl
|
|
|
|
MANEXT=l
|
|
|
|
+ fi
|
|
|
|
fi
|
|
|
|
+ ;;
|
|
|
|
+ prefix)
|
|
|
|
+ if [ "X${PREFIX}" = "X" ]; then PREFIX=/usr/local ; fi
|
|
|
|
+ SRCMD=${PREFIX}/bin
|
|
|
|
+ SRLIB=${PREFIX}/lib/sr
|
|
|
|
+ MAN1=${PREFIX}/man/man1
|
|
|
|
+ MAN3=${PREFIX}/man/man3
|
|
|
|
+ MAN5=${PREFIX}/man/man5
|
|
|
|
+ MANEXT=1
|
|
|
|
;;
|
|
|
|
optlocal)
|
|
|
|
SRCMD=/opt/local/bin
|