[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

configure unhappy.

From: Alfred M. Szmidt
Subject: configure unhappy.
Date: 17 Jun 2002 18:31:35 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2


It seems that configure, or more precisely, the routine that creates
symlinks (AC_CONFIG_LINKS, etc), doesn't like the fact that
$srcdir/include doesn't, which is the destination directory.  The
problem is that the symlink creation stuff tries to cd into the
directory (no idea why), and you end up with errors like this (this
only happens when you build outside the source tree):

config.status: linking /home/ams/src/inetutils/glob/glob.h to include/glob.h
./config.status: cd: /home/ams/src/inetutils/include: No such file or directory

A possible solution to this is to either remove all the symlink
creation stuff and put confpaths.h in $objdir/headers, and then
include the files directly.  Or add $srcdir/headers to -I, and dump
confpaths.h in $srcdir (or whatever), and include the files that don't
live in that directory with `#include "glob/glob.h"' ($srcdir is
already in the include list for GCC AFAIK).

Anyone got other ideas that are a bit saner than this?

Alfred M. Szmidt

reply via email to

[Prev in Thread] Current Thread [Next in Thread]