[file-roller] simplify run-in-place check
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [file-roller] simplify run-in-place check
- Date: Fri, 11 Feb 2011 19:27:55 +0000 (UTC)
commit c39706715f351dc76733cfc3c27a9c6c32582133
Author: Saleem Abdulrasool <compnerd compnerd org>
Date: Sun Jan 2 13:22:53 2011 -0800
simplify run-in-place check
configure.ac | 15 ++++++---------
1 files changed, 6 insertions(+), 9 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 42e9387..3585775 100644
--- a/configure.ac
+++ b/configure.ac
@@ -44,15 +44,12 @@ AC_SUBST([GTK_LIBS])
dnl ===========================================================================
-AC_ARG_ENABLE(run_in_place,
- AS_HELP_STRING([--enable-run-in-place],[load ui data and extensions from the source tree]),
- [case "${enableval}" in
- yes) enable_run_in_place=yes ;;
- no) enable_run_in_place=no ;;
- *) AC_MSG_ERROR([bad value ${enableval} for --enable-run-in-place]) ;;
- esac],
- [enable_run_in_place=no])
-AM_CONDITIONAL(RUN_IN_PLACE, test "x$enable_run_in_place" != xno)
+AC_ARG_ENABLE([run_in_place],
+ AS_HELP_STRING([--enable-run-in-place],
+ [load ui data and extensions from source tree]),,
+ [enable_run_in_place=no])
+
+AM_CONDITIONAL(RUN_IN_PLACE, test x"$enable_run_in_place" != x"no")
dnl ===========================================================================
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]