Enlightenment CVS committal

Author  : mej
Project : e17
Module  : apps/entrance

Dir     : e17/apps/entrance


Modified Files:
        Makefile.am configure.in 


Log Message:
Thu Mar 30 22:36:22 2006                        Michael Jennings (mej)

Added parameter to specify VC or auto-detect.
----------------------------------------------------------------------

===================================================================
RCS file: /cvs/e/e17/apps/entrance/Makefile.am,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -3 -r1.10 -r1.11
--- Makefile.am 22 Mar 2006 19:11:10 -0000      1.10
+++ Makefile.am 31 Mar 2006 03:36:18 -0000      1.11
@@ -21,6 +21,3 @@
        if test -d data; then \
          (cd $(srcdir); tar -cf - data) | (cd $(distdir); tar -xf -) \
        fi
-
-install-data-am:
-       sh data/config/autodetect.sh || :
===================================================================
RCS file: /cvs/e/e17/apps/entrance/configure.in,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -3 -r1.50 -r1.51
--- configure.in        29 Mar 2006 08:00:28 -0000      1.50
+++ configure.in        31 Mar 2006 03:36:18 -0000      1.51
@@ -144,6 +144,24 @@
 ])
 AC_SUBST(edje_cc)
 
+AC_MSG_CHECKING([for virtual console for X startup])
+AC_ARG_WITH(vt, [   --with-vt=NUM  Specify on which virtual console to start X 
(default 7)],
+            [
+                if (test $withval -ge 0) >/dev/null 2>&1; then
+                    AC_MSG_RESULT([$withval])
+                    ENTRANCE_VT_ARG=" vt$withval"
+                elif test "x$withval" = "xauto"; then
+                    AC_MSG_RESULT([X autodetect])
+                    ENTRANCE_VT_ARG=""
+                else
+                    AC_MSG_ERROR([Parameter to --with-vt must be numeric or 
"auto"])
+                fi
+            ], [
+                ENTRANCE_VT_ARG=" vt7"
+                AC_MSG_RESULT([7 (default)])
+            ])
+AC_DEFINE_UNQUOTED([ENTRANCE_VT_ARG], ["$ENTRANCE_VT_ARG"], [vtXX parameter to 
pass to X on startup])
+AC_SUBST([ENTRANCE_VT_ARG])
 
 AC_OUTPUT([
 Makefile




-------------------------------------------------------
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