build: Support toplevel lib and mes builds.
* build-aux/build.sh.in: Add missing libdir for gcc build. * build-aux/config.sh.in: ...here. * build-aux/build-mes.sh: Do not overwrite srcdest, V.
This commit is contained in:
parent
066143d820
commit
a820a98139
|
@ -21,7 +21,7 @@
|
||||||
set -e
|
set -e
|
||||||
set -u
|
set -u
|
||||||
|
|
||||||
V=${V-1}
|
V=${V-}
|
||||||
|
|
||||||
if [ "$V" = 2 ]; then
|
if [ "$V" = 2 ]; then
|
||||||
set -x
|
set -x
|
||||||
|
@ -33,7 +33,6 @@ fi
|
||||||
|
|
||||||
trap 'test -f .log && cat .log' EXIT
|
trap 'test -f .log && cat .log' EXIT
|
||||||
|
|
||||||
srcdest=${srcdest-}
|
|
||||||
mes_sources="
|
mes_sources="
|
||||||
src/gc.c
|
src/gc.c
|
||||||
src/hash.c
|
src/hash.c
|
||||||
|
|
|
@ -58,6 +58,9 @@ fi
|
||||||
srcdir=../
|
srcdir=../
|
||||||
fi
|
fi
|
||||||
if test $compiler = gcc; then
|
if test $compiler = gcc; then
|
||||||
|
AM_LDFLAGS="$AM_LDFLAGS
|
||||||
|
-L gcc-lib
|
||||||
|
"
|
||||||
AM_CPPFLAGS="
|
AM_CPPFLAGS="
|
||||||
-D HAVE_CONFIG_H=1
|
-D HAVE_CONFIG_H=1
|
||||||
-I include
|
-I include
|
||||||
|
|
Loading…
Reference in New Issue