File: autogen.sh

package info (click to toggle)
libevent 2.0.21-stable-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 4,172 kB
  • sloc: ansic: 44,110; sh: 11,510; python: 1,322; makefile: 263
file content (15 lines) | stat: -rwxr-xr-x 308 bytes parent folder | download | duplicates (36)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh
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