Date: 12/04/00
- Next message: Sascha Schumann: "Re: [PHP-DEV] #define config.m4 text"
- Previous message: The BOFH: "[PHP-DEV] Re: PHP 4.0 Bug #7975 Updated: mod_perl and PHP"
- Next in thread: Sascha Schumann: "Re: [PHP-DEV] #define config.m4 text"
- Reply: Sascha Schumann: "Re: [PHP-DEV] #define config.m4 text"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
How do I #define in my C file some text which is only discovered as a result
of some config.m4 messing about?
i.e. the compile time path of my libraries?
I can use:
AC_DEFINE(PHP_MUSCAT_DIR,"$MUSCAT_DIR", [ ])
but this defines literally quote-doller-MUSCAT_DIR-quote, I would like to
evaluate something somehow.
Right now I am doing
echo "#define PHP_MUSCAT_DIR \"$MUSCAT_DIR\"" > muscat_dir.h
and:
#include "../../muscat_dir.h"
in my source but I am sure this is a bad way.
Sam
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Sascha Schumann: "Re: [PHP-DEV] #define config.m4 text"
- Previous message: The BOFH: "[PHP-DEV] Re: PHP 4.0 Bug #7975 Updated: mod_perl and PHP"
- Next in thread: Sascha Schumann: "Re: [PHP-DEV] #define config.m4 text"
- Reply: Sascha Schumann: "Re: [PHP-DEV] #define config.m4 text"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

