summaryrefslogtreecommitdiff
path: root/mit-pthreads/configure
blob: 9411483a31d5ef71035ca6362250944d8398e5d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh

# This silliness is because Chris wants the autoconf-related files
# and makefiles not to appear in the top-level directory.  Fine by
# me, I don't much care.  This script just needs to invoke the real
# configure script...

config=`echo $0 | sed -e 's,configure$,config/configure,'`

if test ! -d obj ; then
	mkdir obj
fi

if test -n "$1" ; then
  exec $config "$@"
else
  exec $config
fi