clean and shit
authorCarsten Haitzler <raster@rasterman.com>
Fri, 12 Nov 2004 02:32:30 +0000 (02:32 +0000)
committerCarsten Haitzler <raster@rasterman.com>
Fri, 12 Nov 2004 02:32:30 +0000 (02:32 +0000)
SVN revision: 12184

legacy/ecore/configure.in

index 5f954fc..7460b4a 100644 (file)
@@ -334,14 +334,12 @@ ecore_evas_libs="";
 
 evas_cflags="";
 evas_libs="";
-AC_ARG_WITH(evas-config,
-[  --with-evas-config=EVAS_CONFIG    use evas-config specified ],
-[
-  EVAS_CONFIG=$withval;
-  echo "using "$EVAS_CONFIG" for evas-config";
-],[
-  PROG="evas-config";
-  AC_PATH_PROG(EVAS_CONFIG, $PROG, "", $PATH)
+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
+    AC_PATH_PROG(EVAS_CONFIG, "evas-config", "", $PATH)
+  fi
 ])
 
 have_ecore_evas="no"
@@ -571,16 +569,13 @@ AC_ARG_ENABLE(ecore-config,
 )
 
 if test "x$have_ecore_config" = "xyes"; then
-  AC_ARG_WITH(eet-config,
-   [   --with-eet-config=EET_CONFIG      use eet-config specified ],
-   [
-     PROG_EET_CONFIG=$withval;
-     echo "using "$PROG_EET_CONFIG" for eet-config";
-   ],[
-     PROG="eet-config";
-     AC_PATH_PROG(PROG_EET_CONFIG, $PROG, "", $PATH)
+  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
+       AC_PATH_PROG(PROG_EET_CONFIG, "eet-config", "", $PATH)
+     fi
    ])
-   if [ test -z "$EET_CONFIG" ]; then EET_CONFIG=$PROG_EET_CONFIG; fi
    eet_cflags=`$EET_CONFIG --cflags`
    eet_libs=`$EET_CONFIG --libs`
    AM_CONDITIONAL(BUILD_ECORE_CONFIG, true)