File: configure

package info (click to toggle)
dcmtk 3.5.4-4
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 23,784 kB
  • ctags: 22,942
  • sloc: cpp: 165,761; ansic: 46,396; sh: 3,808; perl: 3,465; makefile: 3,097
file content (26 lines) | stat: -rwxr-xr-x 582 bytes parent folder | download | duplicates (3)
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
#! /bin/sh
if test -d config ; then
	if test -f config/modules ; then
		tmp=`cat config/modules`
		modules=`ls -d $tmp`
	else
		for dir in `ls`; do
			if test -d $dir ; then
				modules="$modules $dir"
			fi
		done
	fi
	modules=`echo $modules | sed -e "s/config//g" | sed -e "s/CVS//g"`
	modules="config $modules doxygen"
else
	echo "Cannot find configure directory (config or ../config)"
	exit 1
fi
if test "x--help" = "x$*"; then
  config/configure --help
else
  for module in $modules ; do
	echo "Running configure for module $module."
	(cd $module && ./configure $* )
  done
fi