Re: installing config.h

2002-09-04 Thread Thien-Thi Nguyen
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

Re: installing config.h

2002-09-04 Thread Guido Draheim
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

Re: installing config.h

2002-09-04 Thread Raja R Harinath
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

Re: installing config.h

2002-09-04 Thread Bruce Korb
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

Re: installing config.h

2002-09-04 Thread Thien-Thi Nguyen
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

Re: installing config.h

2002-09-04 Thread Thien-Thi Nguyen
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

Re: installing config.h

2002-09-03 Thread 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! -- Ralph

installing config.h

2002-09-03 Thread Waldemar Rosenbach
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;