Re: How to static link a program?



On Sat, Feb 05, 2005 at 10:05:39AM +0100, Jean Br?fort wrote:
...
> Add:
>  AC_ENABLE_STATIC
> AX_DISABLE_SHARED
> to configure.in (or configure.ac), run autoconf then configure.

ben elsa:~/Projects/hpntpos$ vi configure.in
ben elsa:~/Projects/hpntpos$ autoconf
configure.in:14: error: possibly undefined macro: AC_ENABLE_STATIC
      If this token and others are legitimate, please use
      m4_pattern_allow.
            See the Autoconf documentation.


I don't know what m4_pattern_allow is or how to use it.  I tried
changing AC_ENABLE_STATIC to AX_ENABLE_STATIC, which made the error go
away, but also resulted in no change.

- Ben



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]