summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrichard <richard@b067294f-1dea-0310-9683-c47a78595994>2007-11-14 14:11:02 +0000
committerrichard <richard@b067294f-1dea-0310-9683-c47a78595994>2007-11-14 14:11:02 +0000
commite20effa9ae97742e6633c0c0c771fa70b5794772 (patch)
treef4e89a72b6978264361254d231c0beb64a68cc19
parent0dca6183402acf326aaefd948b25453159101fd3 (diff)
matchbox: Fix configure.ac for packages that require expat
git-svn-id: http://svn.o-hand.com/repos/matchbox/trunk/Xoo@1820 b067294f-1dea-0310-9683-c47a78595994
-rw-r--r--ChangeLog4
-rw-r--r--configure.ac19
2 files changed, 4 insertions, 19 deletions
diff --git a/ChangeLog b/ChangeLog
index ae6d20f..8e6e5a1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,10 +1,8 @@
2007-11-14 Richard Purdie <rpurdie@opened.com>
* configure.ac:
- Add --enable-expat and --disable-expat options.
Stop -L/lib being added to compiler commandline and breaking builds
- when --enable-expat and --disable-expat options aren't used and
- $expat is empty.
+ $expat variable isn't used.
2007-08-06 Ross Burton <ross@openedhand.com>
diff --git a/configure.ac b/configure.ac
index 4ab1100..1f5011d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -8,10 +8,6 @@ AC_CONFIG_SRCDIR([src/main.c])
AM_INIT_AUTOMAKE()
AM_CONFIG_HEADER(config.h)
-AC_ARG_ENABLE(expat,
- [ --enable-expat Enable expat XML parser support],
- enable_expat=$enableval, enable_expat=no )
-
AC_ARG_WITH(expat-includes,
[ --with-expat-includes=DIR Use Expat includes in DIR],
expat_includes=$withval, expat_includes=yes)
@@ -78,20 +74,11 @@ esac
case "$expat_lib" in
yes)
-
- case "$expat" in
- yes|"")
- EXPAT_LIBS="-lexpat"
- ;;
- *)
- EXPAT_LIBS="-L$expat/lib -lexpat"
- ;;
- esac
-
+ EXPAT_LIBS="-lexpat"
;;
-no)
+ no)
;;
-*)
+ *)
EXPAT_LIBS="-L$expat_lib -lexpat"
;;
esac