File: autogen.sh

package info (click to toggle)
libevent 2.1.12-stable-10
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 5,304 kB
  • sloc: ansic: 56,580; sh: 4,525; python: 1,356; makefile: 217
file content (22 lines) | stat: -rwxr-xr-x 431 bytes parent folder | download | duplicates (34)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh

MAKE=make
if command -v gmake >/dev/null 2>/dev/null; then
  MAKE=gmake
fi
$MAKE maintainer-clean >/dev/null 2>/dev/null

if [ -x "`which autoreconf 2>/dev/null`" ] ; then
   exec autoreconf -ivf
fi

LIBTOOLIZE=libtoolize
SYSNAME=`uname`
if [ "x$SYSNAME" = "xDarwin" ] ; then
  LIBTOOLIZE=glibtoolize
fi
aclocal -I m4 && \
	autoheader && \
	$LIBTOOLIZE && \
	autoconf && \
	automake --add-missing --force-missing --copy