Skip to content

Commit

Permalink
updated default.configure
Browse files Browse the repository at this point in the history
  • Loading branch information
mbhangui committed May 14, 2023
1 parent f77398b commit e3f4b4f
Show file tree
Hide file tree
Showing 17 changed files with 468 additions and 128 deletions.
30 changes: 26 additions & 4 deletions altermime-x/default.configure
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,35 @@ esac
if [ ! -d m4 -a -f configure.ac -a -f Makefile.am ] ; then
mkdir -p m4
fi
if [ ! -f ./configure -o ! -f Makefile -o ! -f Makefile.in ] ; then
autoreconf -fiv
fi
if [ ! -f conf-release ] ; then
echo "1.1" > conf-release
fi
if [ -f Makefile ] ; then

force=0
while test $# -gt 0; do
case "$1" in
-*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'`
;;
*) optarg=
;;
esac

case "$1" in
--force)
force=1
;;
*)
echo "invalid option [$1]"
read key
exit 1
;;
esac
shift
done
if [ $force -eq 1 -o ! -f ./configure -o ! -f Makefile -o ! -f Makefile.in -o ! -f depcomp ] ; then
autoreconf -fiv
fi
if [ $force -eq 0 -a -f Makefile ] ; then
case "$SYSTEM" in
Darwin|FreeBSD)
if [ $(stat -f %m configure.ac) -le $(stat -f %m Makefile) ] ; then
Expand Down
26 changes: 24 additions & 2 deletions bogofilter-wordlist-x/default.configure
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,32 @@ if [ ! -f conf-releae ] ; then
echo 1.1 > conf-release
fi
./download.sh
if [ ! -f ./configure -o ! -f Makefile -o ! -f Makefile.in ] ; then

force=0
while test $# -gt 0; do
case "$1" in
-*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'`
;;
*) optarg=
;;
esac

case "$1" in
--force)
force=1
;;
*)
echo "invalid option [$1]"
read key
exit 1
;;
esac
shift
done
if [ $force -eq 1 -o ! -f ./configure -o ! -f Makefile -o ! -f Makefile.in -o ! -f depcomp ] ; then
autoreconf -fiv
fi
if [ -f Makefile ] ; then
if [ $force -eq 0 -a -f Makefile ] ; then
case "$SYSTEM" in
Darwin|FreeBSD)
if [ $(stat -f %m configure.ac) -le $(stat -f %m Makefile) ] ; then
Expand Down
26 changes: 14 additions & 12 deletions courier-imap-x/default.configure
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,20 @@ case "$SYSTEM" in
extra="--with-authpam"
;;
esac

if [ ! -f conf-release ] ; then
echo "1.1" > conf-release
fi
if [ ! -d m4 -a -f configure.ac -a -f Makefile.am ] ; then
mkdir -p m4
fi
for i in imap authlib maildrop unicode rfc2045 maildir
do
if [ ! -d libs/$i/m4 ] ; then
mkdir -p libs/$i/m4
fi
done

force=0
while test $# -gt 0; do
case "$1" in
Expand All @@ -95,18 +109,6 @@ while test $# -gt 0; do
shift
done

if [ ! -f conf-release ] ; then
echo "1.1" > conf-release
fi
if [ ! -d m4 -a -f configure.ac -a -f Makefile.am ] ; then
mkdir -p m4
fi
for i in imap authlib maildrop unicode rfc2045 maildir
do
if [ ! -d libs/$i/m4 ] ; then
mkdir -p libs/$i/m4
fi
done
if [ $force -eq 1 -o ! -f ./configure -o ! -f Makefile -o ! -f Makefile.in -o ! -f depcomp ] ; then
autoreconf -fiv
fi
Expand Down
38 changes: 31 additions & 7 deletions fetchmail-x/default.configure
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
#!/bin/sh
if [ ! -f ./configure -o ! -f Makefile -o ! -f Makefile.in ] ; then
autoreconf -fiv
fi
if [ ! -f conf-release ] ; then
echo 1.1 > conf-release
fi
SYSTEM=$(uname -s)
case "$SYSTEM" in
FreeBSD)
Expand Down Expand Up @@ -49,17 +43,47 @@ case "$SYSTEM" in
extra_args="--with-ssl"
;;
esac

if [ ! -d m4 -a -f configure.ac -a -f Makefile.am ] ; then
mkdir -p m4
fi
if [ -f Makefile ] ; then
if [ ! -f conf-release ] ; then
echo 1.1 > conf-release
fi

force=0
while test $# -gt 0; do
case "$1" in
-*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'`
;;
*) optarg=
;;
esac

case "$1" in
--force)
force=1
;;
*)
echo "invalid option [$1]"
read key
exit 1
;;
esac
shift
done
if [ $force -eq 1 -o ! -f ./configure -o ! -f Makefile -o ! -f Makefile.in -o ! -f depcomp ] ; then
autoreconf -fiv
fi
if [ $force -eq 0 -a -f Makefile ] ; then
case "$SYSTEM" in
Darwin|FreeBSD)
if [ $(stat -f %m configure.ac) -le $(stat -f %m Makefile) ] ; then
echo "Already configured"
exit 0
fi
;;

*)
if [ $(stat --format %Y configure.ac) -le $(stat --format %Y Makefile) ] ; then
echo "Already configured"
Expand Down
37 changes: 30 additions & 7 deletions flash-x/default.configure
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
#!/bin/sh
if [ ! -f ./configure -o ! -f Makefile -o ! -f Makefile.in ] ; then
autoreconf -fiv
fi
if [ ! -f conf-release ] ; then
echo 1.1 > conf-release
fi
SYSTEM=$(uname -s)
case "$SYSTEM" in
FreeBSD)
Expand Down Expand Up @@ -53,14 +47,43 @@ esac
if [ ! -d m4 -a -f configure.ac -a -f Makefile.am ] ; then
mkdir -p m4
fi
if [ -f Makefile ] ; then
if [ ! -f conf-release ] ; then
echo 1.1 > conf-release
fi

force=0
while test $# -gt 0; do
case "$1" in
-*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'`
;;
*) optarg=
;;
esac

case "$1" in
--force)
force=1
;;
*)
echo "invalid option [$1]"
read key
exit 1
;;
esac
shift
done
if [ $force -eq 1 -o ! -f ./configure -o ! -f Makefile -o ! -f Makefile.in -o ! -f depcomp ] ; then
autoreconf -fiv
fi
if [ $force -eq 0 -a -f Makefile ] ; then
case "$SYSTEM" in
Darwin|FreeBSD)
if [ $(stat -f %m configure.ac) -le $(stat -f %m Makefile) ] ; then
echo "Already configured"
exit 0
fi
;;

*)
if [ $(stat --format %Y configure.ac) -le $(stat --format %Y Makefile) ] ; then
echo "Already configured"
Expand Down
37 changes: 30 additions & 7 deletions fortune-x/default.configure
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
#!/bin/sh
if [ ! -f ./configure -o ! -f Makefile -o ! -f Makefile.in ] ; then
autoreconf -fiv
fi
if [ ! -f conf-release ] ; then
echo 1.1 > conf-release
fi
SYSTEM=$(uname -s)
case "$SYSTEM" in
FreeBSD)
Expand Down Expand Up @@ -40,14 +34,43 @@ esac
if [ ! -d m4 -a -f configure.ac -a -f Makefile.am ] ; then
mkdir -p m4
fi
if [ -f Makefile ] ; then
if [ ! -f conf-release ] ; then
echo 1.1 > conf-release
fi

force=0
while test $# -gt 0; do
case "$1" in
-*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'`
;;
*) optarg=
;;
esac

case "$1" in
--force)
force=1
;;
*)
echo "invalid option [$1]"
read key
exit 1
;;
esac
shift
done
if [ $force -eq 1 -o ! -f ./configure -o ! -f Makefile -o ! -f Makefile.in -o ! -f depcomp ] ; then
autoreconf -fiv
fi
if [ $force -eq 0 -a -f Makefile ] ; then
case "$SYSTEM" in
Darwin|FreeBSD)
if [ $(stat -f %m configure.ac) -le $(stat -f %m Makefile) ] ; then
echo "Already configured"
exit 0
fi
;;

*)
if [ $(stat --format %Y configure.ac) -le $(stat --format %Y Makefile) ] ; then
echo "Already configured"
Expand Down
41 changes: 32 additions & 9 deletions indimail-spamfilter-x/default.configure
Original file line number Diff line number Diff line change
@@ -1,12 +1,4 @@
#!/bin/sh
echo "default.configure called with $# args [$*]"
prefix=/usr
if [ ! -f ./configure -o ! -f Makefile -o ! -f Makefile.in ] ; then
autoreconf -fiv
fi
if [ ! -f conf-release ] ; then
echo 1.1 > conf-release
fi
SYSTEM=$(uname -s)
case "$SYSTEM" in
FreeBSD)
Expand Down Expand Up @@ -69,14 +61,45 @@ fi
if [ ! -d m4 -a -f configure.ac -a -f Makefile.am ] ; then
mkdir -p m4
fi
if [ -f Makefile ] ; then
echo "default.configure called with $# args [$*]"
prefix=/usr
if [ ! -f conf-release ] ; then
echo 1.1 > conf-release
fi

force=0
while test $# -gt 0; do
case "$1" in
-*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'`
;;
*) optarg=
;;
esac

case "$1" in
--force)
force=1
;;
*)
echo "invalid option [$1]"
read key
exit 1
;;
esac
shift
done
if [ $force -eq 1 -o ! -f ./configure -o ! -f Makefile -o ! -f Makefile.in -o ! -f depcomp ] ; then
autoreconf -fiv
fi
if [ $force -eq 0 -a -f Makefile ] ; then
case "$SYSTEM" in
Darwin|FreeBSD)
if [ $(stat -f %m configure.ac) -le $(stat -f %m Makefile) ] ; then
echo "Already configured"
exit 0
fi
;;

*)
if [ $(stat --format %Y configure.ac) -le $(stat --format %Y Makefile) ] ; then
echo "Already configured"
Expand Down
15 changes: 8 additions & 7 deletions indimail-x/default.configure
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,14 @@ case "$SYSTEM" in
base_path=/mail
;;
esac

if [ ! -d m4 -a -f configure.ac -a -f Makefile.am ] ; then
mkdir -p m4
fi
if [ ! -f conf-release ] ; then
echo 1.1 > conf-release
fi

force=0
while test $# -gt 0; do
case "$1" in
Expand All @@ -86,9 +94,6 @@ while test $# -gt 0; do
esac
shift
done
if [ ! -f conf-release ] ; then
echo 1.1 > conf-release
fi

if [ -d $prefix/include/mysql ] ; then
mysqlPrefix=$prefix
Expand All @@ -98,10 +103,6 @@ elif [ -d /usr/local/mysql/include ] ; then
mysqlPrefix=/usr/local/mysql
fi

if [ ! -d m4 -a -f configure.ac -a -f Makefile.am ] ; then
mkdir -p m4
fi

if [ $force -eq 1 -o ! -f ./configure -o ! -f Makefile -o ! -f Makefile.in -o ! -f depcomp ] ; then
autoreconf -fiv
fi
Expand Down
Loading

0 comments on commit e3f4b4f

Please sign in to comment.