Configure question...

Поиск
Список
Период
Сортировка
От The Hermit Hacker
Тема Configure question...
Дата
Msg-id Pine.NEB.3.95.980204082854.24451H-100000@hub.org
обсуждение исходный текст
Список pgsql-hackers
Anyone out there know more about autoconf then I've been able to learn so
far?  I've found *where* the problem is with the tas.s stuff, just haven't
been able to find a clean way of fixing it :(

if test "X$need_tas" = "Xyes"
then
        echo then do this?
        AC_LINK_FILES(backend/port/tas/${os}.s, backend/port/tas.s)
        TAS=tas.o
        AC_SUBST(TAS)
fi


If you look at the above in configure (the above is from configure.in)
after running autoconf on it, it looks like:

if test "X$need_tas" = "Xyes"
then
        echo then do this?

        TAS=tas.o

fi

    They tack the AC_LINK_FILES 'macro' and move it to the end of the
file, so, effectively, you can't conditionally add it...or so I've been
able to determine.  So, of course, the configure fails for those platforms
that don't have a tas.s file *sigh*

    Now, what I *could* do is put in a 'generic.s' file in that
subdirectory so that it has something to link, and then, because TAS isn't
set, nothing would be attempted for the compile, but that feels sooooo
much like a kludge to me :(

    Comments?



В списке pgsql-hackers по дате отправления:

Предыдущее
От: The Hermit Hacker
Дата:
Сообщение: Re: [HACKERS] configure on linux
Следующее
От: "Meskes, Michael"
Дата:
Сообщение: RE: [HACKERS] Hi