Bruce Korb <[EMAIL PROTECTED]> writes:
http://ac-archive.sf.net/Miscellaneous/ac_create_prefix_config_h.html
thanks for the tip. fwiw, to try this i had to substitute
AC_ECHO_MKFILE(foo,bar)
with
echo 'foo' > bar
(the AC_ECHO_MKFILE from the website is empty.)
thi
Es schrieb "Schleicher Ralph (LLI)":
>
> Waldemar Rosenbach <[EMAIL PROTECTED]> writes:
>
> > But what is the best way to deal with the platform depend stuff in the
> > interface?
>
> A platform independent interface!
>
among the problems of ac_create_config_h:
* some ac-checks will check the
Thien-Thi Nguyen <[EMAIL PROTECTED]> writes:
> Waldemar Rosenbach <[EMAIL PROTECTED]> writes:
>
>Is there another way to solve this kind of problem?
>
> well, it's not clean, but you can process the headers on install. this could
> be a provisional approach (i.e., kludge) while you make the
Thien-Thi Nguyen wrote:
>
> Thien-Thi Nguyen <[EMAIL PROTECTED]> writes (imprecisely):
>
>you can process the headers on install.
>
> sorry, i forgot to emphasize: the headers processed are those other than
> config.h -- the horrible approach described does not require you to install
> conf
Thien-Thi Nguyen <[EMAIL PROTECTED]> writes (imprecisely):
you can process the headers on install.
sorry, i forgot to emphasize: the headers processed are those other than
config.h -- the horrible approach described does not require you to install
config.h. (did i mention that this approach
Waldemar Rosenbach <[EMAIL PROTECTED]> writes:
Is there another way to solve this kind of problem?
well, it's not clean, but you can process the headers on install. this could
be a provisional approach (i.e., kludge) while you make the interface platform
independent.
see below for petrify-h
Waldemar Rosenbach <[EMAIL PROTECTED]> writes:
> But what is the best way to deal with the platform depend stuff in the
> interface?
A platform independent interface!
--
Ralph
config.h is platform depend, so it shouldn't be installed by make install.
But what is the best way to deal with the platform depend stuff in the
interface?
For example:
#ifdef HAVE_HASHMAP
# include
typedef std::hash_map myTableType;
#else
# include
typedef std::map myTableType;