grim/gplate

Parents 03c966486496
Children 920ca17486e6
clean up the figlet stuff a bit. don't try to set a font, since it won't always be there. for example, the small font didn't exist under debian if using toilet as opposed to figlet.
  • +3 -2
    autogen.sh
  • +2 -2
    configure.ac
  • --- a/autogen.sh Mon Jun 22 00:34:41 2009 -0500
    +++ b/autogen.sh Mon Jun 22 00:39:42 2009 -0500
    @@ -138,12 +138,13 @@
    # We really start here, yes, very sneaky!
    ###############################################################################
    FIGLET=`which figlet`
    -if [ x"${FIGLET}" != x"" ] ; then
    - ${FIGLET} -f small ${PACKAGE}
    +if [ ! -z ${FIGLET} ] ; then
    + ${FIGLET} ${PACKAGE}
    echo "build system is being generated"
    else
    echo "autogenerating build system for '${PACKAGE}'"
    fi
    +echo
    ###############################################################################
    # Look for our args file
    --- a/configure.ac Mon Jun 22 00:34:41 2009 -0500
    +++ b/configure.ac Mon Jun 22 00:39:42 2009 -0500
    @@ -203,8 +203,8 @@
    dnl #######################################################################
    dnl # Ouput!!
    dnl #######################################################################
    -if test x"$FIGLET" != x"no" ; then
    - $FIGLET -f small AC_PACKAGE_NAME
    +if test ! -z $FIGLET ; then
    + $FIGLET AC_PACKAGE_NAME
    echo "AC_PACKAGE_VERSION configuration complete"
    else
    echo "AC_PACKAGE_NAME AC_PACKAGE_VERSION configuration complete"