X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=configure;h=273451401438724a46e41d7847e22c2bc697e847;hp=d7b4b5d1733707f92c7473f12cbb3d8b4bda9b87;hb=bb99c3e05a2989623b20855139c095ae4a2c1ecb;hpb=c84d42371ab2e0cc6350a7cffd4f784a54dbd91b diff --git a/configure b/configure index d7b4b5d1..27345140 100755 --- a/configure +++ b/configure @@ -12,9 +12,9 @@ ac_help= ac_default_prefix=/usr/local # Any additions from configure.in: ac_help="$ac_help - --enable-help-doc build HTML documentation [default=yes]" + --enable-html-doc build HTML documentation [default=yes]" ac_help="$ac_help - --enable-ps-doc build PostScript documentation [default=no]" + --enable-ps-doc build PostScript documentation [default=yes]" ac_help="$ac_help --enable-maintainer-mode enable make rules and dependencies not useful (and sometimes confusing) to the casual installer" @@ -553,16 +553,16 @@ if test "${enable_ps_doc+set}" = set; then enableval="$enable_ps_doc" : else - enable_ps_doc=no + enable_ps_doc=yes fi GINACLIB_MAJOR_VERSION=0 GINACLIB_MINOR_VERSION=4 -GINACLIB_MICRO_VERSION=0 +GINACLIB_MICRO_VERSION=1 GINACLIB_INTERFACE_AGE=0 -GINACLIB_BINARY_AGE=0 +GINACLIB_BINARY_AGE=1 GINACLIB_VERSION=$GINACLIB_MAJOR_VERSION.$GINACLIB_MINOR_VERSION.$GINACLIB_MICRO_VERSION @@ -2670,10 +2670,15 @@ fi esac +GINACLIB_CPPFLAGS=$CPPFLAGS +GINACLIB_LIBS=$LIBS + + + # Extract the first word of "doxygen", so it can be a program name with args. set dummy doxygen; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:2677: checking for $ac_word" >&5 +echo "configure:2682: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_DOXYGEN'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2709,7 +2714,7 @@ fi # Extract the first word of "latex", so it can be a program name with args. set dummy latex; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:2713: checking for $ac_word" >&5 +echo "configure:2718: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_LATEX'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2745,7 +2750,7 @@ fi # Extract the first word of "makeindex", so it can be a program name with args. set dummy makeindex; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:2749: checking for $ac_word" >&5 +echo "configure:2754: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_MAKEINDEX'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2781,7 +2786,7 @@ fi # Extract the first word of "dvips", so it can be a program name with args. set dummy dvips; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:2785: checking for $ac_word" >&5 +echo "configure:2790: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_DVIPS'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2817,7 +2822,7 @@ fi # Extract the first word of "fig2dev", so it can be a program name with args. set dummy fig2dev; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:2821: checking for $ac_word" >&5 +echo "configure:2826: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_FIG2DEV'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2855,11 +2860,15 @@ TUTORIAL_TARGETS= REFERENCE_TARGETS= if [ "x$enable_html_doc" = "xyes" ]; then TUTORIAL_TARGETS="$TUTORIAL_TARGETS ginac.html" - REFERENCE_TARGETS="$REFERENCE_TARGETS index.html" + if [ "$DOXYGEN" ]; then + REFERENCE_TARGETS="$REFERENCE_TARGETS index.html" + fi fi if [ "x$enable_ps_doc" = "xyes" ]; then TUTORIAL_TARGETS="$TUTORIAL_TARGETS ginac.ps" - REFERENCE_TARGETS="$REFERENCE_TARGETS reference.ps" + if [ "$DOXYGEN" ]; then + REFERENCE_TARGETS="$REFERENCE_TARGETS reference.ps" + fi fi @@ -2968,6 +2977,7 @@ ac_given_INSTALL="$INSTALL" trap 'rm -fr `echo " Makefile GiNaC.spec +ginac-config ginac/Makefile check/Makefile ginsh/Makefile @@ -3054,6 +3064,8 @@ s%@CPP@%$CPP%g s%@LEX_OUTPUT_ROOT@%$LEX_OUTPUT_ROOT%g s%@YACC@%$YACC%g s%@GINSH_LIBS@%$GINSH_LIBS%g +s%@GINACLIB_CPPFLAGS@%$GINACLIB_CPPFLAGS%g +s%@GINACLIB_LIBS@%$GINACLIB_LIBS%g s%@DOXYGEN@%$DOXYGEN%g s%@LATEX@%$LATEX%g s%@MAKEINDEX@%$MAKEINDEX%g @@ -3104,6 +3116,7 @@ cat >> $CONFIG_STATUS <> $CONFIG_STATUS <> $CONFIG_STATUS <<\EOF test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h - +chmod +x ginac-config exit 0 EOF chmod +x $CONFIG_STATUS