1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
|
#!/bin/sh
export CPPFLAGS
export CFLAGS
export LDFLAGS
autoreconf -i
rm -rf autom4te.cache config.h.in~ po/Makevars.template
rm -f m4/codeset.m4 \
m4/glibc2.m4 \
m4/glibc21.m4 \
m4/intdiv0.m4 \
m4/intl.m4 \
m4/intldir.m4 \
m4/intmax.m4 \
m4/inttypes-pri.m4 \
m4/inttypes_h.m4 \
m4/lcmessage.m4 \
m4/lock.m4 \
m4/longdouble.m4 \
m4/longlong.m4 \
m4/printf-posix.m4 \
m4/size_max.m4 \
m4/stdint_h.m4 \
m4/uintmax_t.m4 \
m4/ulonglong.m4 \
m4/visibility.m4 \
m4/wchar_t.m4 \
m4/wint_t.m4 \
m4/xsize.m4
case "$1" in
"--noconfigure")
exit 0;
;;
"--rpmconfigure")
shift
eval "`rpm --eval %configure`" "$@"
;;
*)
./configure "$@"
;;
esac
|