Check-in [dcd817161e]
Overview
Comment:Updated to search for gethostbyname
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:dcd817161e2d7874ddfe1b4afd6371d17c0359c0
User & Date: rkeene on 2014-11-24 19:55:57
Other Links: manifest | tags
Context
2014-11-24
19:56
libconfig 0.3.2 check-in: 760bcd50bc user: rkeene tags: trunk, 0.3.2
19:55
Updated to search for gethostbyname check-in: dcd817161e user: rkeene tags: trunk
19:43
Updated to correctly link to libopennet check-in: 5ede65f296 user: rkeene tags: trunk
Changes

Modified configure.ac from [636671e0a5] to [27a4228195].

29
30
31
32
33
34
35



36
37
38
39
40
41
42
dnl Get shared objects flags, calls DC_SYNC_SHLIBOBJS but if libobjs is
dnl changed later (by AC_REPLACE_FUNCS, for example) you must call
dnl DC_SYNC_SHLIBOBJS again.
DC_GET_SHOBJFLAGS

dnl This stuff has to come after the shobjtest to verify that it is correct
AC_CHECK_HEADERS(ctype.h dirent.h pwd.h stdio.h stdlib.h string.h sys/stat.h sys/time.h sys/types.h time.h unistd.h netdb.h netinet/in.h)




AC_HEADER_TIME

AC_REPLACE_FUNCS(strsep strtoll getuid)
AC_CHECK_FUNCS(getpwuid strtof)

dnl Setup stable API







>
>
>







29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
dnl Get shared objects flags, calls DC_SYNC_SHLIBOBJS but if libobjs is
dnl changed later (by AC_REPLACE_FUNCS, for example) you must call
dnl DC_SYNC_SHLIBOBJS again.
DC_GET_SHOBJFLAGS

dnl This stuff has to come after the shobjtest to verify that it is correct
AC_CHECK_HEADERS(ctype.h dirent.h pwd.h stdio.h stdlib.h string.h sys/stat.h sys/time.h sys/types.h time.h unistd.h netdb.h netinet/in.h)
AC_SEARCH_LIBS(gethostbyname, [nsl socket ws2_32], [], [
	AC_MSG_ERROR([Unable to find a library supplying gethostbyname.])
])

AC_HEADER_TIME

AC_REPLACE_FUNCS(strsep strtoll getuid)
AC_CHECK_FUNCS(getpwuid strtof)

dnl Setup stable API