Revision 21708,
311 bytes
checked in by ghudson, 20 years ago
(diff) |
Use libtool to build and install a shared library.
|
Line | |
---|
1 | dnl Process this file with autoconf to produce a configure script. |
---|
2 | AC_INIT(ares_init.c) |
---|
3 | |
---|
4 | AC_PROG_CC |
---|
5 | AC_PROG_INSTALL |
---|
6 | AC_PROG_RANLIB |
---|
7 | AC_PROG_LIBTOOL |
---|
8 | |
---|
9 | AC_CANONICAL_HOST |
---|
10 | case $host_os in |
---|
11 | solaris*) |
---|
12 | AC_DEFINE(ETC_INET) |
---|
13 | ;; |
---|
14 | esac |
---|
15 | |
---|
16 | AC_SEARCH_LIBS(gethostbyname, nsl) |
---|
17 | AC_SEARCH_LIBS(socket, socket) |
---|
18 | |
---|
19 | AC_OUTPUT(Makefile) |
---|
Note: See
TracBrowser
for help on using the repository browser.