r18727 - gnucash/trunk - Remove popt requirement from configure

Geert Janssens gjanssens at code.gnucash.org
Thu Feb 25 06:36:38 EST 2010


Author: gjanssens
Date: 2010-02-25 06:36:37 -0500 (Thu, 25 Feb 2010)
New Revision: 18727
Trac: http://svn.gnucash.org/trac/changeset/18727

Modified:
   gnucash/trunk/configure.in
Log:
Remove popt requirement from configure
GnuCash doesn't use it.
At the same time, I removed a check that has been commented out
since the beginning of the revision history (somewhere in 2007).
This check tested for the presence of popt.h to then run some
libtool changes. As I said this whole block has been commented
out since the beginning of time, so I considered it to be obsolete,
more even so now that the popt requirement has been removed.

Modified: gnucash/trunk/configure.in
===================================================================
--- gnucash/trunk/configure.in	2010-02-24 20:51:15 UTC (rev 18726)
+++ gnucash/trunk/configure.in	2010-02-25 11:36:37 UTC (rev 18727)
@@ -285,15 +285,6 @@
 update to latest  darwin])
 		;;
 	darwin*)
-
-#		AC_CHECK_HEADERS(popt.h)
-#		AC_MSG_RESULT([yes, patching libtool to always build dylibs])
-#		mv libtool libtool.old
-#		${SED} -e 's/^deplibs_check_method.*/deplibs_check_method=pass_all/g' \
-#			-e 's|^library_names_spec.*|library_names_spec="\\$libname\\$release\\$versuffix.dylib \\$libname\\$release\\${major}.dylib \\$libname.dylib"|g' \
-#			-e 's|^soname_spec.*|soname_spec="\\$libname\\$release\\$major.dylib"|g' \
-#			< libtool.old > libtool
-#		rm libtool.old
 		AC_MSG_RESULT(yes)
 		AC_MSG_CHECKING(For GDK-Quartz)
 		_gdk_tgt=`$PKG_CONFIG --variable=target gdk-2.0`
@@ -984,17 +975,6 @@
 
 
 ### --------------------------------------------------------------------------
-### popt
-AC_CHECK_HEADERS(popt.h)
-AC_CHECK_LIB(popt, poptStrippedArgv,, [AC_MSG_ERROR([
-
-  popt 1.5 or newer is required to build gnucash. You can download
-  the latest version from ftp://people.redhat.com/sopwith/popt/, or if
-  you're running Debian, install the libpopt-dev package.
-])])
-
-
-### --------------------------------------------------------------------------
 ### Whether or not to build the GTK GUI components.
 ### When disabled, we don't even need to check for them!
 ### --------------------------------------------------------------------------



More information about the gnucash-changes mailing list