diff options
-rw-r--r-- | configure.in | 20 | ||||
-rw-r--r-- | m4/ac_espik_debug.m4 | 11 |
2 files changed, 16 insertions, 15 deletions
diff --git a/configure.in b/configure.in index 7ec9497..7d68c42 100644 --- a/configure.in +++ b/configure.in @@ -23,16 +23,16 @@ AC_C___ATTRIBUTE__ AC_ESPIK_DEBUG AC_ARG_WITH(ecore-config, - [ --with-ecore-config=ECORE_CONFIG use ecore-config specified ], - [ ECORE_CONFIG=$withval; - if ! test -x "$ECORE_CONFIG"; then - AC_MSG_ERROR([$ECORE_CONFIG not found]) - fi ], - [ PROG="ecore-config"; - AC_PATH_PROG(ECORE_CONFIG, $PROG, "", $PATH) - if test -z "$ECORE_CONFIG"; then - AC_MSG_ERROR([You need ecore !]) - fi + [ --with-ecore-config=ECORE_CONFIG_PATH use ecore-config specified ], + [ECORE_CONFIG=$withval; + if ! test -x "$ECORE_CONFIG"; then + AC_MSG_ERROR([$ECORE_CONFIG not found]) + fi ], + [PROG="ecore-config"; + AC_PATH_PROG(ECORE_CONFIG, $PROG, "", $PATH) + if test -z "$ECORE_CONFIG"; then + AC_MSG_ERROR([You need ecore !]) + fi ]) ecore_cflags=`$ECORE_CONFIG --cflags` diff --git a/m4/ac_espik_debug.m4 b/m4/ac_espik_debug.m4 index 0b904b2..d0e3795 100644 --- a/m4/ac_espik_debug.m4 +++ b/m4/ac_espik_debug.m4 @@ -5,11 +5,12 @@ AC_DEFUN([AC_ESPIK_DEBUG]), [debug], AC_HELP_STRING( [--enable-debug], [Enable debug mode (default=yes)]), - [if test "$enable_debug" = "yes" ; then - DEBUG_CFLAGS="-g -D_ESPIK_DEBUG_" - else - DEBUG_LDFLAGS="-s" - fi], [debug="yes"]) + [if test "$enable_debug" = "yes" ; then + DEBUG_CFLAGS="-g -D_ESPIK_DEBUG_" + else + DEBUG_LDFLAGS="-s" + fi], + [debug="yes"]) AC_SUBST(DEBUG_CFLAGS) AC_SUBST(DEBUG_LDFLAGS) |