autoconf help needed on file output

  • Follow


I am using AC_OUTPUT(PATH/FILE) to create a file FILE in directory PATH. 
When I run configure on Sun Solaris or OSF system, a "./" is always 
added to the beginning of PATH. If the PATH is an absolute path, e.g.
     PATH=/A/DIR1/
then configure just try to look for
     .//A/DIR1/
and report it cannot be found. If I use it on Linux system or if I 
change the PATH to a relative path (e.g. ../../DIR1) the problem doesn't 
exist.

Does this PATH have to be a relative path on Sun Solaris or OSF system? 
If no, what can I do in order to eliminate that automatic "./" when 
running configure on Sun Solaris and OSF?

Thank you very much.

KG

0
Reply kg 7/14/2003 3:19:49 PM

kg wrote:
> I am using AC_OUTPUT(PATH/FILE) to create a file FILE in directory PATH. 
> When I run configure on Sun Solaris or OSF system, a "./" is always 
> added to the beginning of PATH. If the PATH is an absolute path, e.g.
>     PATH=/A/DIR1/
> then configure just try to look for
>     .//A/DIR1/
> and report it cannot be found. If I use it on Linux system or if I 
> change the PATH to a relative path (e.g. ../../DIR1) the problem doesn't 
> exist.
> 
> Does this PATH have to be a relative path on Sun Solaris or OSF system? 
> If no, what can I do in order to eliminate that automatic "./" when 
> running configure on Sun Solaris and OSF?

You should be using a path that is hard coded into configure.in,
and is relative to the top directory of the package.

0
Reply Russell 7/15/2003 2:08:04 AM


1 Replies
191 Views

(page loaded in 3.109 seconds)

Similiar Articles:













7/26/2012 8:19:33 PM


Reply: