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.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18727 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Geert Janssens 2010-02-25 11:36:37 +00:00
parent c299f2444b
commit 7bd5535140

View File

@ -285,15 +285,6 @@ case $host_os in
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`
@ -983,17 +974,6 @@ BB_ENABLE_DOXYGEN
LIBS="$LIBS -lm"
### --------------------------------------------------------------------------
### 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!