view autogen.sh @ 2681:5aad991269cf octave-forge

Changed the website to a green one.
author hauberg
date Sat, 14 Oct 2006 12:45:02 +0000
parents 3ec5c60e39a0
children
line wrap: on
line source

#! /bin/sh

## Generate ./configure
rm -f configure.in
echo "dnl --- DO NOT EDIT --- Automatically generated by autogen.sh" > configure.in
cat configure.base >> configure.in
files=`find . -name configure.add -print`
if test ! -z "$files" ; then
  cat $files >> configure.in
fi
cat <<EOF >> configure.in
  AC_OUTPUT(\$CONFIGURE_OUTPUTS)
  dnl XXX FIXME XXX chmod is not in autoconf's list of portable functions
  chmod 0771 octinst.sh
  echo " "
  echo "  \"\\\$prefix\" is \$prefix"
  echo "  \"\\\$exec_prefix\" is \$exec_prefix"
  AC_MSG_RESULT([\$STATUS_MSG

find . -name NOINSTALL -print    # shows which toolboxes won't be installed
])
EOF

autoconf && rm -f configure.in

## Generate ./Makeconf.in
rm -f Makeconf.in
cp Makeconf.base Makeconf.in
files=`find . -name Makeconf.add -print`
if test ! -z "$files" ; then
  cat $files >> Makeconf.in
fi