detecting OS

2001-11-16 Thread Helder Correia
Hello How can I write a configure.in file in a way I can make something like this: if linux do this else if freebsd do that else if solaris do this; do that; Do I have to work out with automake too? (note: if solaris then I have to do something like app_LDADD in Makefile.am) T

config.h.in

2001-11-18 Thread Helder Correia
Hello I want to define some macros in config.h. So I write AC_DEFINE(FOO) in configure.in. When I run aclocal/autoconf/autoheader/automake I get this: /usr/bin/autoheader: Symbol `FOO' is not covered by /usr/share/autoconf/acconfig.h What am I missing here? (Yes I'm really newbie to "autoto

Getting man pages installed

2001-11-19 Thread Helder Correia
Hello I have a Makefile.am with the following lines: man1_MANS = foo.1 EXTRA_DIST = $(man1_MANS) I used to get foo.1 installed in the correct path (when I used autoconf 2.52 and automake 1.5). But now I installed RedHat 7.2 And it comes with autoconf 2.13 and automake 1.4p4. Well, the man pa