File: autogen.sh

package info (click to toggle)
rpm 4.12.0.2%2Bdfsg1-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 15,588 kB
  • ctags: 6,893
  • sloc: ansic: 56,382; sh: 21,449; perl: 1,495; makefile: 771; cpp: 541; python: 244; sed: 16
file content (44 lines) | stat: -rwxr-xr-x 732 bytes parent folder | download | duplicates (11)
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