Sha256: 2ca8218eb3c810873546cd4d5f65dbdb7b613f1dd4016202857e73d463fa9fc2

Contents?: true

Size: 1.65 KB

Versions: 6

Compression:

Stored size: 1.65 KB

Contents

#!/bin/sh
# Run this to generate configure and Makefile

srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.

THEDIR=`pwd`
(
  cd $srcdir
  die=0

  (autoconf --version) < /dev/null > /dev/null 2>&1 || {
    echo
    echo "You must have autoconf installed."
    echo "Download the appropriate package for your distribution,"
    echo "or see http://www.gnu.org/software/autoconf"
    die=1
  }

  # Require libtool only if one of of LT_INIT,
  # AC_PROG_LIBTOOL, AM_PROG_LIBTOOL is used in configure.ac.
  grep -E '^[[:blank:]]*(LT_INIT|A[CM]_PROG_LIBTOOL)' configure.ac >/dev/null \
      && {
    (libtool --version) < /dev/null > /dev/null 2>&1 || {
    echo
    echo "You must have libtool installed."
    echo "Download the appropriate package for your distribution,"
    echo "or see http://www.gnu.org/software/libtool"
    die=1
    }
  }

  (automake --version) < /dev/null > /dev/null 2>&1 || {
    echo
    die=1
    echo "You must have automake installed."
    echo "Download the appropriate package for your distribution,"
    echo "or see http://www.gnu.org/software/automake"
  }

  test $die = 1 && exit 1

  test -f ovirt-node-plugin-foreman.spec.in || {
    echo "You must run this script in the top-level directory"
    exit 1
  }

  if test -z "$*"; then
    echo "I am going to run ./configure with no arguments - if you wish "
    echo "to pass any to it, please specify them on the $0 command line."
  fi

  aclocal

  # Run autoheader only if needed
  grep '^[[:blank:]]*AC_CONFIG_HEADERS' configure.ac >/dev/null && autoheader

  automake --add-missing
  autoconf
  ./configure "$@"
)

if test "x$OBJ_DIR" != x; then
    mkdir -p "$OBJ_DIR"
    cd "$OBJ_DIR"
fi

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
foreman_discovery-1.3.0.rc3 extra/ovirt-node-plugin-foreman/autogen.sh
foreman_discovery-1.3.0.rc2 extra/ovirt-node-plugin-foreman/autogen.sh
foreman_discovery-1.3.0.rc1 extra/ovirt-node-plugin-foreman/autogen.sh
foreman_discovery-1.2.0 extra/ovirt-node-plugin-foreman/autogen.sh
foreman_discovery-1.2.0.rc2 extra/ovirt-node-plugin-foreman/autogen.sh
foreman_discovery-1.2.0.rc1 extra/ovirt-node-plugin-foreman/autogen.sh