Enlightenment CVS committal

Author  : rbdpngn
Project : e17
Module  : libs/emotion

Dir     : e17/libs/emotion


Modified Files:
        configure.in 


Log Message:
Allow for specifying the config script on the command line, this overrides the
environment variables.

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/emotion/configure.in,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- configure.in        29 Jun 2004 04:37:16 -0000      1.2
+++ configure.in        15 Jul 2004 15:47:06 -0000      1.3
@@ -100,12 +100,84 @@
   echo $V
 }
 
-if [ test -z "$EET_CONFIG" ]; then EET_CONFIG="eet-config"; fi
-if [ test -z "$EVAS_CONFIG" ]; then EVAS_CONFIG="evas-config"; fi
-if [ test -z "$EDJE_CONFIG" ]; then EDJE_CONFIG="edje-config"; fi
-if [ test -z "$ECORE_CONFIG" ]; then ECORE_CONFIG="ecore-config"; fi
-if [ test -z "$EMBRYO_CONFIG" ]; then EMBRYO_CONFIG="embryo-config"; fi
-if [ test -z "$XINE_CONFIG" ]; then XINE_CONFIG="xine-config"; fi
+
+AC_ARG_WITH(eet-config,
+[  --with-eet-config=EET_CONFIG    use eet-config specified ],
+[
+  EET_CONFIG=$withval;
+  echo "using "$EET_CONFIG" for eet-config";
+],[
+  if [ test -z "$EET_CONFIG" ]; then
+    PROG="eet-config";
+    AC_PATH_PROG(EET_CONFIG, $PROG, "", $PATH)
+  fi
+])
+
+
+AC_ARG_WITH(evas-config,
+[  --with-evas-config=EVAS_CONFIG    use evas-config specified ],
+[
+  EVAS_CONFIG=$withval;
+  echo "using "$EVAS_CONFIG" for evas-config";
+],[
+  if [ test -z "$EVAS_CONFIG" ]; then
+    PROG="evas-config";
+    AC_PATH_PROG(EVAS_CONFIG, $PROG, "", $PATH)
+  fi
+])
+
+
+AC_ARG_WITH(edje-config,
+[  --with-edje-config=EDJE_CONFIG    use edje-config specified ],
+[
+  EDJE_CONFIG=$withval;
+  echo "using "$EDJE_CONFIG" for edje-config";
+],[
+  if [ test -z "$EDJE_CONFIG" ]; then
+    PROG="edje-config";
+    AC_PATH_PROG(EDJE_CONFIG, $PROG, "", $PATH)
+  fi
+])
+
+
+AC_ARG_WITH(ecore-config,
+[  --with-ecore-config=ECORE_CONFIG    use ecore-config specified ],
+[
+  ECORE_CONFIG=$withval;
+  echo "using "$ECORE_CONFIG" for ecore-config";
+],[
+  if [ test -z "$ECORE_CONFIG" ]; then
+    PROG="ecore-config";
+    AC_PATH_PROG(ECORE_CONFIG, $PROG, "", $PATH)
+  fi
+])
+
+
+AC_ARG_WITH(embryo-config,
+[  --with-embryo-config=EMBRYO_CONFIG    use embryo-config specified ],
+[
+  EMBRYO_CONFIG=$withval;
+  echo "using "$EMBRYO_CONFIG" for embryo-config";
+],[
+  if [ test -z "$EMBRYO_CONFIG" ]; then
+    PROG="embryo-config";
+    AC_PATH_PROG(EMBRYO_CONFIG, $PROG, "", $PATH)
+  fi
+])
+
+
+AC_ARG_WITH(xine-config,
+[  --with-xine-config=XINE_CONFIG    use xine-config specified ],
+[
+  XINE_CONFIG=$withval;
+  echo "using "$XINE_CONFIG" for xine-config";
+],[
+  if [ test -z "$XINE_CONFIG" ]; then
+    PROG="xine-config";
+    AC_PATH_PROG(XINE_CONFIG, $PROG, "", $PATH)
+  fi
+])
+
 
 V=`$ECORE_CONFIG --version`
 VV=`vser $V`




-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to