[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Antiright-devel] antiright configure
From: |
Jeffrey Bedard |
Subject: |
[Antiright-devel] antiright configure |
Date: |
Wed, 18 Aug 2004 20:02:15 -0400 |
CVSROOT: /cvsroot/antiright
Module name: antiright
Branch:
Changes by: Jeffrey Bedard <address@hidden> 04/08/18 23:57:56
Modified files:
. : configure
Log message:
The resource directory is now determined automatically. The icon
directory is set. The version has been changed to 2.1.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/antiright/antiright/configure.diff?tr1=1.36&tr2=1.37&r1=text&r2=text
Patches:
Index: antiright/configure
diff -u antiright/configure:1.36 antiright/configure:1.37
--- antiright/configure:1.36 Mon Aug 16 18:00:30 2004
+++ antiright/configure Wed Aug 18 23:57:56 2004
@@ -37,6 +37,17 @@
DEFS="$DEFS -DPREFIX=\'\"$PREFIX\"\'"
fi
+# Set up resource file installation directory.
+if [ -d /usr/lib/X11/app-defaults ]; then
+ RESDIR=/usr/lib/X11/app-defaults
+elif [ -d /etc/X11/app-defaults ]; then
+ RESDIR=/etc/X11/app-defaults
+elif [ -d /usr/local/lib/X11/app-defaults ]; then
+ RESDIR=/usr/local/lib/X11/app-defaults
+else
+ RESDIR=/usr/lib/X11/app-defaults
+fi
+
if [ -f /usr/include/linux/cdrom.h ]; then
DEFS="$DEFS -DHAVE_LINUX_CDROM_H"
fi
@@ -71,6 +82,7 @@
CPPFLAGS=$CPPFLAGS\\
CFLAGS=$CFLAGS\\
DEFS=$DEFS\\
+ RESDIR=$RESDIR\\
VERSION=$VERSION\\
INSTALL=$(which install)\\
" Makefile > sed.tmp.$$