mirror of
https://github.com/pygos/build.git
synced 2024-11-04 19:27:09 +01:00
38a9b5865c
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
15 lines
502 B
Bash
15 lines
502 B
Bash
run_configure() {
|
|
local srcdir="$1"
|
|
shift
|
|
|
|
ac_cv_func_malloc_0_nonnull=yes \
|
|
ac_cv_func_realloc_0_nonnull=yes \
|
|
$srcdir/configure --prefix="" --build="$HOSTTUPLE" --host="$TARGET" \
|
|
--bindir="/bin" --sbindir="/bin" --sysconfdir="/etc" \
|
|
--libexecdir="/lib/libexec" --datarootdir="/share" \
|
|
--datadir="/share" --sharedstatedir="/share" \
|
|
--with-bashcompletiondir="/share/bash-completion/completions" \
|
|
--includedir="/include" \
|
|
--libdir="/lib" \
|
|
--enable-shared --disable-static $@
|
|
}
|