m4-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FYI: 18-gary-ltdl-config-cleanup.patch


From: Akim Demaille
Subject: Re: FYI: 18-gary-ltdl-config-cleanup.patch
Date: 01 Oct 2001 09:53:04 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Artificial Intelligence)

| +## ---------------------------------------- ##
| +## Display a configure time version banner. ##
| +## ---------------------------------------- ##
| +TIMESTAMP=
| +case AC_PACKAGE_VERSION in
| +  *[[acegikmoqsuwy]])
| +    TIMESTAMP=`$CONFIG_SHELL $ac_aux_dir/mkstamp < $srcdir/ChangeLog`
| +    banner="Configuring AC_PACKAGE_TARNAME AC_PACKAGE_VERSION$TIMESTAMP"
| +    dashes=`echo "$banner" | sed 's/./-/g'`
| +    
| +    # Display an obvious version banner
| +    echo
| +    echo $dashes
| +    echo "$banner"
| +    echo $dashes
| +    echo
| +    ;;
| +esac

If you want to play with M4sh, you could

AS_BOX([Configuring AC_PACKAGE_TARNAME AC_PACKAGE_VERSION$TIMESTAMP])

I think :)


| +M4OBJS=
| +m4_pattern_allow([^m4_getopt_h$])
| +m4_getopt_h=src/getopt.h
| +rm -f 
| +AC_CHECK_FUNC([getopt_long], [],
| +    [M4OBJS="getopt1.$ac_objext getopt.$ac_objext"
| +    AC_CONFIG_LINKS([$m4_getopt_h:src/gnu-getopt.h])])
| +AC_SUBST([M4OBJS])

I'm not sure what you meant with rm -f, so I didn't fix it.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]