/[GiNaC]/configure.ac
ViewVC logotype

Diff of /configure.ac

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.20 by cbauer, Mon Mar 22 16:30:00 2004 UTC revision 1.21 by cbauer, Tue Aug 10 21:01:26 2004 UTC
# Line 72  AM_PROG_LIBTOOL Line 72  AM_PROG_LIBTOOL
72  AM_PROG_LEX  AM_PROG_LEX
73  AC_PROG_YACC  AC_PROG_YACC
74    
 dnl Configure options.  
 AC_ARG_ENABLE(html-doc, [  --enable-html-doc       build HTML documentation [default=no]], , enable_html_doc=no)  
 AC_ARG_ENABLE(ps-doc,   [  --enable-ps-doc         build PostScript documentation [default=no]], , enable_ps_doc=no)  
   
75  dnl Check for data types which are needed by the hash function  dnl Check for data types which are needed by the hash function
76  dnl (golden_ratio_hash).  dnl (golden_ratio_hash).
77  AC_CHECK_SIZEOF(long, 4)  AC_CHECK_SIZEOF(long, 4)
# Line 136  dnl Documentation needs only be built wh Line 132  dnl Documentation needs only be built wh
132  dnl cannot find those helpers:  dnl cannot find those helpers:
133  AC_PATH_PROG(DOXYGEN, doxygen, "")  AC_PATH_PROG(DOXYGEN, doxygen, "")
134  AC_PATH_PROG(LATEX, latex, "")  AC_PATH_PROG(LATEX, latex, "")
135    AC_PATH_PROG(PDFLATEX, pdflatex, "")
136  AC_PATH_PROG(MAKEINDEX, makeindex, "")  AC_PATH_PROG(MAKEINDEX, makeindex, "")
137  AC_PATH_PROG(DVIPS, dvips, "")  AC_PATH_PROG(DVIPS, dvips, "")
138  AC_PATH_PROG(FIG2DEV, fig2dev, "")  AC_PATH_PROG(FIG2DEV, fig2dev, "")
139    
 dnl Determine which documentation shall be built  
 TUTORIAL_TARGETS=  
 REFERENCE_TARGETS=  
 if test "x${enable_html_doc}" = "xyes"; then  
   TUTORIAL_TARGETS="$TUTORIAL_TARGETS ginac.html"  
   if [[ "$DOXYGEN" ]]; then  
     REFERENCE_TARGETS="$REFERENCE_TARGETS index.html"  
   fi  
 fi  
 if test "x${enable_ps_doc}" = "xyes"; then  
   TUTORIAL_TARGETS="$TUTORIAL_TARGETS ginac.ps"  
   if [[ "$DOXYGEN" ]]; then  
     REFERENCE_TARGETS="$REFERENCE_TARGETS reference.ps"  
   fi  
 fi  
 AC_SUBST(TUTORIAL_TARGETS)  
 AC_SUBST(REFERENCE_TARGETS)  
   
140  dnl Output makefiles etc.  dnl Output makefiles etc.
141  AC_CONFIG_FILES([  AC_CONFIG_FILES([
142  Makefile  Makefile
# Line 175  tools/viewgar.1 Line 154  tools/viewgar.1
154  doc/Makefile  doc/Makefile
155  doc/tutorial/Makefile  doc/tutorial/Makefile
156  doc/reference/Makefile  doc/reference/Makefile
157    doc/reference/DoxyfileHTML
158    doc/reference/DoxyfileTEX
159    doc/reference/DoxyfilePDF
160    doc/reference/Doxyfooter
161  ])  ])
162  AC_CONFIG_COMMANDS([default],[[chmod +x ginac-config]],[[]])  AC_CONFIG_COMMANDS([default],[[chmod +x ginac-config]],[[]])
163  AC_OUTPUT  AC_OUTPUT

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21

Christian Bauer">Christian Bauer
ViewVC Help
Powered by ViewVC 1.1.15