# the libcurl distribution for details.
#
AC_DEFUN([AMANDA_CHECK_LIBCURL], [
- case "$target" in
+ case "$host" in
sparc-sun-solaris2.10) # Solaris 10
# curl is not in the LD_LIBRARY_PATH on Solaris 10, so we search
# for it in a few common paths; we then extract the -L flags and
#
AC_DEFUN([AMANDA_CHECK_NET_LIBS], [
# Make sure we don't use -lnsl and -lsun on Irix systems.
- case "$target" in
+ case "$host" in
*sgi-irix*)
AC_CHECK_LIB(socket,main)
;;
# system-specific search paths.
AC_PATH_PROG(PKG_CONFIG, pkg-config, [], $LOCSYSPATH:/opt/csw/bin:/usr/local/bin:/opt/local/bin)
- case "$target" in
+ case "$host" in
sparc-sun-solaris2.8) # Solaris 8
# give the linker a runtime search path; pkg-config doesn't supply this.
# Users could also specify this with LD_LIBRARY_PATH to both ./configure
AM_PATH_GLIB_2_0(2.2.0,,[
AC_MSG_ERROR(glib not found or too old; See http://wiki.zmanda.com/index.php/Installation for help)
], gmodule gobject gthread)
- AMANDA_ADD_CFLAGS($GLIB_CFLAGS)
- AMANDA_ADD_CPPFLAGS($GLIB_CPPFLAGS)
+ # GLIB_CPPFLAGS is not set by autoconf, yet GLIB_CFLAGS contains what GLIB_CPPFLAGS should contain.
+ AMANDA_ADD_CPPFLAGS($GLIB_CFLAGS)
AMANDA_ADD_LIBS($GLIB_LIBS)
])