Changeset 44 for sources/bootstrap


Ignore:
Timestamp:
Aug 24, 2009, 1:47:11 PM (15 years ago)
Author:
buchmann
Message:

Update bootstrap and Makefile.am

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sources/bootstrap

    r27 r44  
    11#! /bin/sh
    2 # $Id: bootstrap 1974 2008-04-04 11:32:24Z sam $
     2# $Id: bootstrap 2005 2008-07-16 20:51:50Z sam $
    33
    44# bootstrap: generic bootstrap/autogen.sh script for autotools projects
     
    3030# Check for needed features
    3131auxdir="`sed -ne 's/^[ \t]*A._CONFIG_AUX_DIR *([[ ]*\([^] )]*\).*/\1/p' $conffile`"
    32 libtool="`grep -q '^[ \t]*A._PROG_LIBTOOL' $conffile && echo yes || echo no`"
    33 header="`grep -q '^[ \t]*A._CONFIG_HEADER' $conffile && echo yes || echo no`"
     32libtool="`grep '^[ \t]*A._PROG_LIBTOOL' $conffile >/dev/null 2>&1 && echo yes || echo no`"
     33header="`grep '^[ \t]*A._CONFIG_HEADER' $conffile >/dev/null 2>&1 && echo yes || echo no`"
    3434makefile="`[ -f Makefile.am ] && echo yes || echo no`"
    3535aclocalflags="`sed -ne 's/^[ \t]*ACLOCAL_AMFLAGS[ \t]*=//p' Makefile.am 2>/dev/null || :`"
Note: See TracChangeset for help on using the changeset viewer.