Re: Problem compiling: AIX 4.1.2 & Scotty 1.2.5
Thierry BESANCON (besancon@excalibur.ens.fr)
Wed, 28 Jun 1995 20:20:57 +0200
>> # ./configure
>> loading cache ./config.cache
>> checking how to run the C preprocessor... (cached) cc -E
>> checking for a BSD compatible install... (cached) ./install-sh -c
>> checking for ranlib... (cached) ranlib
>> checking for rpcgen... (cached) rpcgen
>> checking for tcl.h in NONE/include... no
>> checking for tcl.h in /usr/local/include... yes
>> checking for libtcl in NONE/lib... no
>> checking for libtcl in /usr/local/lib... yes
>> checking for tk.h in NONE/include... no
>> checking for tk.h in /usr/local/include... yes
>> checking for libtk in NONE/lib... no
>> checking for libtk in /usr/local/lib... yes
>> checking for xmkmf... (cached) 0
>> checking for -lieee... (cached) no
>> checking for -lsocket... (cached) no
>> checking for -lrpc... (cached) no
>> checking for res_mkquery... (cached) yes
>> checking for stdlib.h... ./configure[1456]: "${ac_cv_header_$ac_safe+set}": bad
>> substitution
>>
>> Has anyone seen this before?
Yes, it has something to see with /bin/sh.
Recently, I read that /bin/sh was a hard link to /bin/ksh (which is true)
and that the difference between the true plain bourne shell can sometimes
be seen. I think we both hit the difference.
When faced with this problem, I changed configure to be a bash script not
a sh script and it worked.
One another solution is to use /bin/bsh which is the true bourne shell.
Thierry