Re: multiple inclusion guard for config.h

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

 



David Byron <dbyron@xxxxxxxxxx> writes:

> Any suggestions how?  I've seen people write scripts to modify/rename
> config.h but that seems overkill in this case.

Well, if you know that in your case you're only including one config.h,
you could just use:

    AH_TOP([#ifndef CONFIG_H_INCLUDED
    #define CONFIG_H_INCLUDED 1])
    AH_BOTTOM([#endif])

in your configure.ac.

-- 
Russ Allbery (rra@xxxxxxxxxxxx)             <http://www.eyrie.org/~eagle/>


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux