[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] r8487: Build correctly for use on OS X platforms with case-sensitiv (tor/trunk)



Author: nickm
Date: 2006-09-24 17:45:02 -0400 (Sun, 24 Sep 2006)
New Revision: 8487

Modified:
   tor/trunk/ChangeLog
   tor/trunk/Makefile.am
   tor/trunk/configure.in
Log:
Build correctly for use on OS X platforms with case-sensitive filesystems

Modified: tor/trunk/ChangeLog
===================================================================
--- tor/trunk/ChangeLog	2006-09-24 21:21:40 UTC (rev 8486)
+++ tor/trunk/ChangeLog	2006-09-24 21:45:02 UTC (rev 8487)
@@ -39,6 +39,8 @@
       instead of "X resolved to X".
     - Prevent the 'exitlist' script from printing the same result more
       than once.
+    - Build correctly for use on OS X platforms with case-sensitive
+      filesystems.
 
   o Documentation
     - Documented (and renamed) ServerDNSSearchDomains and

Modified: tor/trunk/Makefile.am
===================================================================
--- tor/trunk/Makefile.am	2006-09-24 21:21:40 UTC (rev 8486)
+++ tor/trunk/Makefile.am	2006-09-24 21:45:02 UTC (rev 8487)
@@ -46,6 +46,9 @@
 	if [ "x$(sysconfdir)" != 'x/Library' ]; then \
 	  echo "Configure with --sysconfdir=/Library, please"; \
 	  exit 1; \
+	fi; \
+	if [ "x$(CONFDIR)" != 'x/Library/Tor' ]; then \
+	  echo "Configure with CONFDIR=/Library/Tor, please"; \
 	fi
 	$(MAKE) all
 	VERSION=$(VERSION) sh ./contrib/osx/package.sh

Modified: tor/trunk/configure.in
===================================================================
--- tor/trunk/configure.in	2006-09-24 21:21:40 UTC (rev 8486)
+++ tor/trunk/configure.in	2006-09-24 21:45:02 UTC (rev 8487)
@@ -716,7 +716,9 @@
   exec_prefix=$prefix
 fi
 
-CONFDIR=`eval echo $sysconfdir/tor`
+if test "x$CONFDIR" = "x"; then
+  CONFDIR=`eval echo $sysconfdir/tor`
+fi
 AC_SUBST(CONFDIR)
 AH_TEMPLATE([CONFDIR],[tor's configuration directory])
 AC_DEFINE_UNQUOTED(CONFDIR,"$CONFDIR")
@@ -742,8 +744,6 @@
 # Add these in when you feel like fun.
 #CFLAGS="$CFLAGS -Wbad-function-cast -Werror -Wdeclaration-after-statement -Wold-style-definition"
 
-echo "confdir: $CONFDIR"
-
 AC_OUTPUT(Makefile tor.spec contrib/tor.sh contrib/torctl contrib/torify contrib/tor.logrotate contrib/Makefile contrib/osx/Makefile contrib/osx/TorBundleDesc.plist contrib/osx/TorBundleInfo.plist contrib/osx/TorDesc.plist contrib/osx/TorInfo.plist contrib/osx/TorStartupDesc.plist src/config/torrc.sample doc/tor.1 src/Makefile doc/Makefile doc/design-paper/Makefile src/config/Makefile src/common/Makefile src/or/Makefile src/win32/Makefile src/tools/Makefile contrib/suse/Makefile contrib/suse/tor.sh)
 
 if test -x /usr/bin/perl && test -x ./contrib/updateVersions.pl ; then