Changeset 44


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

Update bootstrap and Makefile.am

Location:
sources
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sources/Makefile.am

    r30 r44  
     1ACLOCAL_AMFLAGS= -I m4
    12SUBDIRS = src examples doc
  • 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.