[[project @ 2003-08-22 10:21:46 by panne] panne**20030822102147 The autoconf magic for the library documentation belongs to libraries/, not ghc/. ] { hunk ./configure.ac 27 -dnl these subdirectories (the use of cache values makes repeated checks cheap) -dnl (We probably have to add hslibs/{OpenGL,GLUT} here later...) -AC_CONFIG_SUBDIRS(ghc) +dnl these subdirectories if they exist. The use of a cache file makes repeated +dnl checks cheap. +AC_CONFIG_SUBDIRS([ghc libraries]) hunk ./ghc/aclocal.m4 1 -# FP_HTML_COMMENT(VARIABLE, PREFIX) -# --------------------------------- -AC_DEFUN([FP_HTML_COMMENT], -[AS_IF([$1], - [$2HTMLStart=""; $2HTMLEnd=""], - [$2HTMLStart=""])[]dnl -AC_SUBST([$2HTMLStart])[]dnl -AC_SUBST([$2HTMLEnd])[]dnl -])# FP_HTML_COMMENT +# Although we don't need any local macros currently, we leave this file here. +# Otherwise autoreconf invokes aclocal from the automake tools, which might +# be nonexistent or too old. hunk ./ghc/configure.ac 2 -AC_INIT(ghc.spec.in) +AC_INIT([ghc.spec.in]) hunk ./ghc/configure.ac 12 -# Uncomment links to unix docs if necessary. -# NOTE: This is a slight hack: It needs to be synchronized with -# fptools/configure.ac and fptools/libraries/Makefile and should probably use -# target features instead of host. -AC_CANONICAL_HOST - -case $host in -i[[3456]]86-*-mingw32*) fp_supports_unix=no ;; -*) fp_supports_unix=yes ;; -esac -FP_HTML_COMMENT([test x"$fp_supports_unix" = xyes], [unix]) - -# Uncomment links to ObjectIO docs if necessary. -AC_ARG_ENABLE([objectio], - AC_HELP_STRING([--enable-objectio], - [Build ObjectIO, a portable GUI library for Haskell.])) -FP_HTML_COMMENT([test x"$enable_objectio" = xyes], [ObjectIO]) - -# Uncomment links to HOpenGL docs if necessary -AC_ARG_ENABLE([hopengl], - AC_HELP_STRING([--enable-hopengl], - [Build HOpenGL, a Haskell binding for OpenGL/GLUT.])) -FP_HTML_COMMENT([{ test x"$enable_hopengl" = xyes || test x"$enable_hopengl" = xx11; }], [HOpenGL]) - hunk ./ghc/configure.ac 13 -AC_OUTPUT(ghc.spec docs/libraries.html) +AC_OUTPUT([ghc.spec]) hunk ./ghc/docs/Makefile 6 -PAGES = index.html libraries.html +PAGES = index.html hunk ./ghc/docs/libraries.html.in 1 - - -
-The libraries are divided into several packages. - NOTE: there is not always a clean division between packages in the - hierarchy, which means a node and its children might be in - different packages. If you're looking for a specific module, try - all the packages below.
- -