6 |
|
# |
7 |
|
|
8 |
|
# Change these to change the package name and version |
9 |
< |
AC_INIT(libukcprog, 1.0, dev@i-scream.org.uk) |
9 |
> |
AC_INIT(libukcprog, 1.0, bugs@i-scream.org) |
10 |
|
AM_INIT_AUTOMAKE(libukcprog, 1.0) |
11 |
|
|
12 |
|
# Revision number (automatically updated) |
25 |
|
|
26 |
|
# Checks for typedefs, structures, and compiler characteristics |
27 |
|
AC_C_CONST |
28 |
+ |
|
29 |
+ |
# Figure out details about the host - we need the OS |
30 |
+ |
AC_CANONICAL_HOST |
31 |
+ |
|
32 |
+ |
# On Slaris add some LIBS to make linking against libukcprog easier |
33 |
+ |
case $host_os in |
34 |
+ |
solaris2.*) |
35 |
+ |
LIBS="$LIBS -lnsl -lsocket" |
36 |
+ |
;; |
37 |
+ |
esac |
38 |
|
|
39 |
|
# And finish by changing these files |
40 |
|
AC_CONFIG_FILES([Makefile src/Makefile doc/Makefile]) |