Enlightenment CVS committal

Author  : mej
Project : e17
Module  : apps/entrance

Dir     : e17/apps/entrance


Modified Files:
        configure.in 


Log Message:
Wed Apr  5 12:28:52 2006                        Michael Jennings (mej)

Patch from Essien Essien <[EMAIL PROTECTED]> to allow changing of X
server path.
----------------------------------------------------------------------

===================================================================
RCS file: /cvs/e/e17/apps/entrance/configure.in,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -3 -r1.52 -r1.53
--- configure.in        1 Apr 2006 01:51:56 -0000       1.52
+++ configure.in        5 Apr 2006 16:29:50 -0000       1.53
@@ -31,6 +31,18 @@
 packagesrcdir=`cd $srcdir && pwd`
 AC_DEFINE_UNQUOTED(PACKAGE_SOURCE_DIR, "${packagesrcdir}", [Program source 
directory])
 
+dnl Set path to X_BINARIES in config.h
+dnl# FIXME:  Use AC_PATH_PROG macro here.
+xbin=""
+AC_ARG_WITH(xbin, [ --with-xbin=DIR            Directory where X binaries are 
installed ],
+            [
+                xbin="$withval"
+            ], [
+                xbin="/usr/X11R6/bin";
+            ])
+AC_DEFINE_UNQUOTED(X_BINARIES, "${xbin}", [Path to X binaries])
+AC_SUBST(xbin)
+
 dnl Use -Wall if we have gcc.
 changequote(,)dnl
 if test "x$GCC" = "xyes"; then
@@ -240,6 +252,7 @@
 echo "Support for shadow authentication ... $have_shadow"
 echo "Support for PAM authentication ...... $have_pam"
 echo "XSession file to use ................ $xsession "
+echo "X binaries prefix  .................. $xbin"
 echo
 echo "Now type 'make' (gmake on some systems) to compile $PACKAGE"
 echo




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to