diff options
author | joerg <joerg> | 2010-01-23 22:41:43 +0000 |
---|---|---|
committer | joerg <joerg> | 2010-01-23 22:41:43 +0000 |
commit | 62dec22b2fc6b295f3273eea7a10d9cd1eb62f13 (patch) | |
tree | 50872a24e055c247c9cab2ac84bba0c45b6b2423 /pkgtools/pkg_install | |
parent | b38a9595bf1e268e55cd397b1fcb913c5bb89bb5 (diff) | |
download | pkgsrc-62dec22b2fc6b295f3273eea7a10d9cd1eb62f13.tar.gz |
Check -lnetwork for gethostbyname on Haiku. From PR 42665.
Diffstat (limited to 'pkgtools/pkg_install')
-rwxr-xr-x | pkgtools/pkg_install/files/configure | 5 | ||||
-rw-r--r-- | pkgtools/pkg_install/files/configure.ac | 4 |
2 files changed, 6 insertions, 3 deletions
diff --git a/pkgtools/pkg_install/files/configure b/pkgtools/pkg_install/files/configure index fd7aa4809f6..694446fe873 100755 --- a/pkgtools/pkg_install/files/configure +++ b/pkgtools/pkg_install/files/configure @@ -593,6 +593,7 @@ ac_includes_default="\ ac_subst_vars='LTLIBOBJS LIBOBJS +PKG_DBDIR SYSCONFDIR EGREP CPP @@ -4601,7 +4602,7 @@ return gethostbyname (); return 0; } _ACEOF -for ac_lib in '' nsl; do +for ac_lib in '' nsl network; do if test -z "$ac_lib"; then ac_res="none required" else @@ -4976,6 +4977,8 @@ esac SYSCONFDIR="$sysconfdir" +PKG_DBDIR="$pkgdbdir" + ac_config_files="$ac_config_files Makefile add/Makefile admin/Makefile bpm/bpm.sh create/Makefile delete/Makefile info/Makefile lib/Makefile lib/pkg_install.conf.5 lib/pkg_install.conf.cat" diff --git a/pkgtools/pkg_install/files/configure.ac b/pkgtools/pkg_install/files/configure.ac index 9c15054820a..ff2b38300f5 100644 --- a/pkgtools/pkg_install/files/configure.ac +++ b/pkgtools/pkg_install/files/configure.ac @@ -1,4 +1,4 @@ -dnl $NetBSD: configure.ac,v 1.33 2010/01/22 13:30:41 joerg Exp $ +dnl $NetBSD: configure.ac,v 1.34 2010/01/23 22:41:43 joerg Exp $ dnl Process this file with autoconf to produce a configure script. AC_PREREQ(2.52) AC_INIT([pkg_install], [20090911], [joerg@NetBSD.org]) @@ -71,7 +71,7 @@ AC_CHECK_HEADERS([sys/cdefs.h sys/file.h sys/ioctl.h sys/param.h \ # Checks for library functions. AC_CHECK_FUNCS([vfork]) -AC_SEARCH_LIBS([gethostbyname], [nsl]) +AC_SEARCH_LIBS([gethostbyname], [nsl network]) AC_SEARCH_LIBS([socket], [socket], [], |