gjs r150 - trunk
- From: johan svn gnome org
- To: svn-commits-list gnome org
- Subject: gjs r150 - trunk
- Date: Mon, 26 Jan 2009 22:12:41 +0000 (UTC)
Author: johan
Date: Mon Jan 26 22:12:40 2009
New Revision: 150
URL: http://svn.gnome.org/viewvc/gjs?rev=150&view=rev
Log:
Fix the configure script to disable linking against readline if the library it's not found
Modified:
trunk/configure.ac
Modified: trunk/configure.ac
==============================================================================
--- trunk/configure.ac (original)
+++ trunk/configure.ac Mon Jan 26 22:12:40 2009
@@ -150,9 +150,9 @@
break
fi
done
-AC_SUBST([READLINE_LIBS])
if test $gjs_cv_lib_readline = no; then
AC_MSG_RESULT([none])
+ READLINE_LIBS=""
else
AC_MSG_RESULT([$READLINE_LIBS])
AC_DEFINE(HAVE_LIBREADLINE, 1,
@@ -163,6 +163,7 @@
have_readline=yes, have_readline=no)
AM_CONDITIONAL([HAVE_READLINE], [test x$have_readline = xyes])
+AC_SUBST([READLINE_LIBS])
AC_SUBST([HAVE_READLINE])
# End of readline checks: restore LIBS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]