forked from enlightenment/efl
Allow for specifying the config script on the command line, this overrides the
environment variables. SVN revision: 10843
This commit is contained in:
parent
7363ea82b1
commit
9bb8fa6e9d
|
@ -100,12 +100,84 @@ function vser
|
|||
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`
|
||||
|
|
Loading…
Reference in New Issue