Changeset d16193 in git


Ignore:
Timestamp:
Mar 29, 2000, 3:20:47 PM (24 years ago)
Author:
Olaf Bachmann <obachman@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
251a2ac0b5cc0fbe92de78d4a127f1c0444023f2
Parents:
5f0f1960b9dc9e0ab74285a56dfb1f98c44422a6
Message:
* fixed texi2html integration


git-svn-id: file:///usr/local/Singular/svn/trunk@4226 2c84dea3-7e68-4137-9b89-c4e89433aadc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • configure

    r5f0f19 rd16193  
    12241224fi
    12251225
    1226 if test -d Texi2html; then
    1227 if test -r ${T2H_HOME}/texi2html.init; then
    1228 TEXI2HTML=`pwd`/Texi2html/texi2html.pl
    1229 else
    1230 TEXI2HTML=`pwd`/Texi2html/texi2html
    1231 fi
    1232 
    1233 else
    1234 echo "configure: warning: could not find Texi2html/texi2html HTML generation might fail" 1>&2
    1235 # Extract the first word of "texi2html", so it can be a program name with args.
    1236 set dummy texi2html; ac_word=$2
    1237 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1238 echo "configure:1239: checking for $ac_word" >&5
    1239 if eval "test \"`echo '$''{'ac_cv_prog_TEXI2HTML'+set}'`\" = set"; then
    1240   echo $ac_n "(cached) $ac_c" 1>&6
    1241 else
    1242   if test -n "$TEXI2HTML"; then
    1243   ac_cv_prog_TEXI2HTML="$TEXI2HTML" # Let the user override the test.
    1244 else
    1245   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
    1246   ac_dummy="$PATH"
    1247   for ac_dir in $ac_dummy; do
    1248     test -z "$ac_dir" && ac_dir=.
    1249     if test -f $ac_dir/$ac_word; then
    1250       ac_cv_prog_TEXI2HTML="texi2html"
    1251       break
    1252     fi
    1253   done
    1254   IFS="$ac_save_ifs"
    1255 fi
    1256 fi
    1257 TEXI2HTML="$ac_cv_prog_TEXI2HTML"
    1258 if test -n "$TEXI2HTML"; then
    1259   echo "$ac_t""$TEXI2HTML" 1>&6
    1260 else
    1261   echo "$ac_t""no" 1>&6
    1262 fi
    1263 
    1264 fi
    1265 if test "$ac_cv_prog_LATEX2HTML" = latex2html; then
    1266   TEXI2HTML_OPTS="-l2h"
    1267 fi
    1268 
    12691226
    12701227# expand prefix and pass it to subsequent configures
     
    13101267# check for AIX
    13111268echo $ac_n "checking whether _AIX is defined""... $ac_c" 1>&6
    1312 echo "configure:1313: checking whether _AIX is defined" >&5
     1269echo "configure:1270: checking whether _AIX is defined" >&5
    13131270if eval "test \"`echo '$''{'ac_cv_is_aix'+set}'`\" = set"; then
    13141271  echo $ac_n "(cached) $ac_c" 1>&6
    13151272else
    13161273  cat > conftest.$ac_ext <<EOF
    1317 #line 1318 "configure"
     1274#line 1275 "configure"
    13181275#include "confdefs.h"
    13191276#ifdef _AIX
     
    13411298
    13421299echo $ac_n "checking for atof in -lm""... $ac_c" 1>&6
    1343 echo "configure:1344: checking for atof in -lm" >&5
     1300echo "configure:1301: checking for atof in -lm" >&5
    13441301ac_lib_var=`echo m'_'atof | sed 'y%./+-%__p_%'`
    13451302if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    13491306LIBS="-lm  $LIBS"
    13501307cat > conftest.$ac_ext <<EOF
    1351 #line 1352 "configure"
     1308#line 1309 "configure"
    13521309#include "confdefs.h"
    13531310/* Override any gcc2 internal prototype to avoid an error.  */
     
    13601317; return 0; }
    13611318EOF
    1362 if { (eval echo configure:1363: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1319if { (eval echo configure:1320: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    13631320  rm -rf conftest*
    13641321  eval "ac_cv_lib_$ac_lib_var=yes"
     
    13881345
    13891346echo $ac_n "checking for socket in -lbsd""... $ac_c" 1>&6
    1390 echo "configure:1391: checking for socket in -lbsd" >&5
     1347echo "configure:1348: checking for socket in -lbsd" >&5
    13911348ac_lib_var=`echo bsd'_'socket | sed 'y%./+-%__p_%'`
    13921349if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    13961353LIBS="-lbsd  $LIBS"
    13971354cat > conftest.$ac_ext <<EOF
    1398 #line 1399 "configure"
     1355#line 1356 "configure"
    13991356#include "confdefs.h"
    14001357/* Override any gcc2 internal prototype to avoid an error.  */
     
    14071364; return 0; }
    14081365EOF
    1409 if { (eval echo configure:1410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1366if { (eval echo configure:1367: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    14101367  rm -rf conftest*
    14111368  eval "ac_cv_lib_$ac_lib_var=yes"
     
    14351392
    14361393echo $ac_n "checking for listen in -lsocket""... $ac_c" 1>&6
    1437 echo "configure:1438: checking for listen in -lsocket" >&5
     1394echo "configure:1395: checking for listen in -lsocket" >&5
    14381395ac_lib_var=`echo socket'_'listen | sed 'y%./+-%__p_%'`
    14391396if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    14431400LIBS="-lsocket  $LIBS"
    14441401cat > conftest.$ac_ext <<EOF
    1445 #line 1446 "configure"
     1402#line 1403 "configure"
    14461403#include "confdefs.h"
    14471404/* Override any gcc2 internal prototype to avoid an error.  */
     
    14541411; return 0; }
    14551412EOF
    1456 if { (eval echo configure:1457: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1413if { (eval echo configure:1414: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    14571414  rm -rf conftest*
    14581415  eval "ac_cv_lib_$ac_lib_var=yes"
     
    14821439
    14831440echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
    1484 echo "configure:1485: checking for gethostbyname in -lnsl" >&5
     1441echo "configure:1442: checking for gethostbyname in -lnsl" >&5
    14851442ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
    14861443if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    14901447LIBS="-lnsl  $LIBS"
    14911448cat > conftest.$ac_ext <<EOF
    1492 #line 1493 "configure"
     1449#line 1450 "configure"
    14931450#include "confdefs.h"
    14941451/* Override any gcc2 internal prototype to avoid an error.  */
     
    15011458; return 0; }
    15021459EOF
    1503 if { (eval echo configure:1504: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1460if { (eval echo configure:1461: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    15041461  rm -rf conftest*
    15051462  eval "ac_cv_lib_$ac_lib_var=yes"
     
    15291486
    15301487echo $ac_n "checking for mpq_init in -lgmp""... $ac_c" 1>&6
    1531 echo "configure:1532: checking for mpq_init in -lgmp" >&5
     1488echo "configure:1489: checking for mpq_init in -lgmp" >&5
    15321489ac_lib_var=`echo gmp'_'mpq_init | sed 'y%./+-%__p_%'`
    15331490if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    15371494LIBS="-lgmp  $LIBS"
    15381495cat > conftest.$ac_ext <<EOF
    1539 #line 1540 "configure"
     1496#line 1497 "configure"
    15401497#include "confdefs.h"
    15411498/* Override any gcc2 internal prototype to avoid an error.  */
     
    15481505; return 0; }
    15491506EOF
    1550 if { (eval echo configure:1551: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1507if { (eval echo configure:1508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    15511508  rm -rf conftest*
    15521509  eval "ac_cv_lib_$ac_lib_var=yes"
     
    15761533
    15771534echo $ac_n "checking for mpz_init in -lsmallgmp""... $ac_c" 1>&6
    1578 echo "configure:1579: checking for mpz_init in -lsmallgmp" >&5
     1535echo "configure:1536: checking for mpz_init in -lsmallgmp" >&5
    15791536ac_lib_var=`echo smallgmp'_'mpz_init | sed 'y%./+-%__p_%'`
    15801537if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    15841541LIBS="-lsmallgmp  $LIBS"
    15851542cat > conftest.$ac_ext <<EOF
    1586 #line 1587 "configure"
     1543#line 1544 "configure"
    15871544#include "confdefs.h"
    15881545/* Override any gcc2 internal prototype to avoid an error.  */
     
    15951552; return 0; }
    15961553EOF
    1597 if { (eval echo configure:1598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1554if { (eval echo configure:1555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    15981555  rm -rf conftest*
    15991556  eval "ac_cv_lib_$ac_lib_var=yes"
     
    16231580
    16241581echo $ac_n "checking for IMP_PutGmpInt in -lMP""... $ac_c" 1>&6
    1625 echo "configure:1626: checking for IMP_PutGmpInt in -lMP" >&5
     1582echo "configure:1583: checking for IMP_PutGmpInt in -lMP" >&5
    16261583ac_lib_var=`echo MP'_'IMP_PutGmpInt | sed 'y%./+-%__p_%'`
    16271584if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    16311588LIBS="-lMP  $LIBS"
    16321589cat > conftest.$ac_ext <<EOF
    1633 #line 1634 "configure"
     1590#line 1591 "configure"
    16341591#include "confdefs.h"
    16351592/* Override any gcc2 internal prototype to avoid an error.  */
     
    16421599; return 0; }
    16431600EOF
    1644 if { (eval echo configure:1645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1601if { (eval echo configure:1602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    16451602  rm -rf conftest*
    16461603  eval "ac_cv_lib_$ac_lib_var=yes"
     
    16701627
    16711628echo $ac_n "checking for MPT_GetTree in -lMPT""... $ac_c" 1>&6
    1672 echo "configure:1673: checking for MPT_GetTree in -lMPT" >&5
     1629echo "configure:1630: checking for MPT_GetTree in -lMPT" >&5
    16731630ac_lib_var=`echo MPT'_'MPT_GetTree | sed 'y%./+-%__p_%'`
    16741631if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    16781635LIBS="-lMPT  $LIBS"
    16791636cat > conftest.$ac_ext <<EOF
    1680 #line 1681 "configure"
     1637#line 1638 "configure"
    16811638#include "confdefs.h"
    16821639/* Override any gcc2 internal prototype to avoid an error.  */
     
    16891646; return 0; }
    16901647EOF
    1691 if { (eval echo configure:1692: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1648if { (eval echo configure:1649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    16921649  rm -rf conftest*
    16931650  eval "ac_cv_lib_$ac_lib_var=yes"
     
    17171674
    17181675echo $ac_n "checking for atof in -lsingcf""... $ac_c" 1>&6
    1719 echo "configure:1720: checking for atof in -lsingcf" >&5
     1676echo "configure:1677: checking for atof in -lsingcf" >&5
    17201677ac_lib_var=`echo singcf'_'atof | sed 'y%./+-%__p_%'`
    17211678if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    17251682LIBS="-lsingcf  $LIBS"
    17261683cat > conftest.$ac_ext <<EOF
    1727 #line 1728 "configure"
     1684#line 1685 "configure"
    17281685#include "confdefs.h"
    17291686/* Override any gcc2 internal prototype to avoid an error.  */
     
    17361693; return 0; }
    17371694EOF
    1738 if { (eval echo configure:1739: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1695if { (eval echo configure:1696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    17391696  rm -rf conftest*
    17401697  eval "ac_cv_lib_$ac_lib_var=yes"
     
    17641721
    17651722echo $ac_n "checking for atof in -lsingfac""... $ac_c" 1>&6
    1766 echo "configure:1767: checking for atof in -lsingfac" >&5
     1723echo "configure:1724: checking for atof in -lsingfac" >&5
    17671724ac_lib_var=`echo singfac'_'atof | sed 'y%./+-%__p_%'`
    17681725if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    17721729LIBS="-lsingfac  $LIBS"
    17731730cat > conftest.$ac_ext <<EOF
    1774 #line 1775 "configure"
     1731#line 1732 "configure"
    17751732#include "confdefs.h"
    17761733/* Override any gcc2 internal prototype to avoid an error.  */
     
    17831740; return 0; }
    17841741EOF
    1785 if { (eval echo configure:1786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1742if { (eval echo configure:1743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    17861743  rm -rf conftest*
    17871744  eval "ac_cv_lib_$ac_lib_var=yes"
     
    18151772ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    18161773echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    1817 echo "configure:1818: checking for $ac_hdr" >&5
     1774echo "configure:1775: checking for $ac_hdr" >&5
    18181775if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    18191776  echo $ac_n "(cached) $ac_c" 1>&6
    18201777else
    18211778  cat > conftest.$ac_ext <<EOF
    1822 #line 1823 "configure"
     1779#line 1780 "configure"
    18231780#include "confdefs.h"
    18241781#include <$ac_hdr>
    18251782EOF
    18261783ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1827 { (eval echo configure:1828: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1784{ (eval echo configure:1785: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    18281785ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    18291786if test -z "$ac_err"; then
     
    19971954
    19981955echo $ac_n "checking which tmp dir to use""... $ac_c" 1>&6
    1999 echo "configure:2000: checking which tmp dir to use" >&5
     1956echo "configure:1957: checking which tmp dir to use" >&5
    20001957if test "${with_tmpdir+set}" = set && test -d ${with_tmpdir}; then
    20011958  if (echo "${with_tmpdir}" | egrep "\." >/dev/null 2>&1)
     
    20141971if test "${with_perl5+set}" != set; then
    20151972  echo $ac_n "checking for perl5""... $ac_c" 1>&6
    2016 echo "configure:2017: checking for perl5" >&5
     1973echo "configure:1974: checking for perl5" >&5
    20171974    if eval "test \"`echo '$''{'ac_cv_prog_perl5'+set}'`\" = set"; then
    20181975  echo $ac_n "(cached) $ac_c" 1>&6
     
    20512008set dummy $ac_prog; ac_word=$2
    20522009echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2053 echo "configure:2054: checking for $ac_word" >&5
     2010echo "configure:2011: checking for $ac_word" >&5
    20542011if eval "test \"`echo '$''{'ac_cv_prog_PERL5'+set}'`\" = set"; then
    20552012  echo $ac_n "(cached) $ac_c" 1>&6
     
    20882045
    20892046echo $ac_n "checking whether to configure and build gmp lib""... $ac_c" 1>&6
    2090 echo "configure:2091: checking whether to configure and build gmp lib" >&5
     2047echo "configure:2048: checking whether to configure and build gmp lib" >&5
    20912048if test "$enable_gmp" != yes && test "$enable_gmp" != no; then
    20922049  if test "$ac_gmp_ok" != yes && test -d gmp; then
     
    21142071
    21152072echo $ac_n "checking whether to configure and build smallgmp lib""... $ac_c" 1>&6
    2116 echo "configure:2117: checking whether to configure and build smallgmp lib" >&5
     2073echo "configure:2074: checking whether to configure and build smallgmp lib" >&5
    21172074if test "$enable_smallgmp" != yes && test "$enable_smallgmp" != no; then
    21182075  if test "$ac_smallgmp_ok" != yes && test "$ac_gmp_ok" != yes && \
     
    21532110
    21542111echo $ac_n "checking whether to configure and build MP lib""... $ac_c" 1>&6
    2155 echo "configure:2156: checking whether to configure and build MP lib" >&5
     2112echo "configure:2113: checking whether to configure and build MP lib" >&5
    21562113if test "$enable_MP" != yes && test "$enable_MP" != no; then
    21572114  if test "$with_MP" != no && test "$ac_MP_ok" != yes && test -d MP && \
     
    21822139 
    21832140echo $ac_n "checking whether to configure and build factory lib""... $ac_c" 1>&6
    2184 echo "configure:2185: checking whether to configure and build factory lib" >&5
     2141echo "configure:2142: checking whether to configure and build factory lib" >&5
    21852142if test "$enable_factory" != yes && test "$enable_factory" != no; then
    21862143  if test "$with_factory" != no && test "$ac_factory_ok" != yes && \
     
    22072164
    22082165echo $ac_n "checking whether to configure and build libfac lib""... $ac_c" 1>&6
    2209 echo "configure:2210: checking whether to configure and build libfac lib" >&5
     2166echo "configure:2167: checking whether to configure and build libfac lib" >&5
    22102167if test "$enable_libfac" != yes && test "$enable_libfac" != no; then
    22112168  if test "$with_libfac" != no && test "$ac_libfac_ok" != yes && \
     
    22372194
    22382195echo $ac_n "checking whether to configure and build sgroup lib""... $ac_c" 1>&6
    2239 echo "configure:2240: checking whether to configure and build sgroup lib" >&5
     2196echo "configure:2197: checking whether to configure and build sgroup lib" >&5
    22402197if test "$enable_sgroup" = yes; then
    22412198  if test ! -d sgroup; then
     
    22572214
    22582215echo $ac_n "checking whether to build mpr and use mtrack""... $ac_c" 1>&6
    2259 echo "configure:2260: checking whether to build mpr and use mtrack" >&5
     2216echo "configure:2217: checking whether to build mpr and use mtrack" >&5
    22602217if test -d mpr && test "$ac_cv_singuname" = ix86-Linux && test "$enable_mtrack" != no; then
    22612218  echo "$ac_t""yes" 1>&6
     
    22722229
    22732230echo $ac_n "checking whether to configure and build Singular""... $ac_c" 1>&6
    2274 echo "configure:2275: checking whether to configure and build Singular" >&5
     2231echo "configure:2232: checking whether to configure and build Singular" >&5
    22752232if test "$enable_Singular" != yes && test "$enable_Singular" != no; then
    22762233  if test "$with_Singular" != no && test -d Singular; then
     
    22982255
    22992256echo $ac_n "checking whether to configure and build Texinfo""... $ac_c" 1>&6
    2300 echo "configure:2301: checking whether to configure and build Texinfo" >&5
     2257echo "configure:2258: checking whether to configure and build Texinfo" >&5
    23012258if test "$enable_Texinfo" != no && test -d Texinfo; then
    23022259  echo "$ac_t""yes" 1>&6
     
    23202277set dummy makeinfo; ac_word=$2
    23212278echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2322 echo "configure:2323: checking for $ac_word" >&5
     2279echo "configure:2280: checking for $ac_word" >&5
    23232280if eval "test \"`echo '$''{'ac_cv_prog_MAKEINFO'+set}'`\" = set"; then
    23242281  echo $ac_n "(cached) $ac_c" 1>&6
     
    23502307set dummy texi2dvi; ac_word=$2
    23512308echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2352 echo "configure:2353: checking for $ac_word" >&5
     2309echo "configure:2310: checking for $ac_word" >&5
    23532310if eval "test \"`echo '$''{'ac_cv_prog_TEXI2DVI'+set}'`\" = set"; then
    23542311  echo $ac_n "(cached) $ac_c" 1>&6
     
    23802337set dummy texindex; ac_word=$2
    23812338echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2382 echo "configure:2383: checking for $ac_word" >&5
     2339echo "configure:2340: checking for $ac_word" >&5
    23832340if eval "test \"`echo '$''{'ac_cv_prog_TEXINDEX'+set}'`\" = set"; then
    23842341  echo $ac_n "(cached) $ac_c" 1>&6
     
    24102367
    24112368
    2412 echo $ac_n "checking whether to build Texi2html""... $ac_c" 1>&6
    2413 echo "configure:2414: checking whether to build Texi2html" >&5
     2369echo $ac_n "checking whether to configure and build Texi2html""... $ac_c" 1>&6
     2370echo "configure:2371: checking whether to configure and build Texi2html" >&5
    24142371if test "$enable_Texi2html" != no && test -d Texi2html; then
    24152372 echo "$ac_t""yes" 1>&6
     2373 CONFIG_SUBDIRS="$CONFIG_SUBDIRS Texi2html"
    24162374 BUILD_SUBDIRS="$BUILD_SUBDIRS Texi2html"
    24172375 if test "$enable_Texi2html" != yes; then
    24182376   ac_configure_args="$ac_configure_args --enable-Texi2html"
    24192377 fi
     2378 TEXI2HTML=${bindir}/texi2html
     2379 
    24202380else
    24212381 echo "$ac_t""no" 1>&6
    2422 fi
     2382 # Extract the first word of "texi2html", so it can be a program name with args.
     2383set dummy texi2html; ac_word=$2
     2384echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
     2385echo "configure:2386: checking for $ac_word" >&5
     2386if eval "test \"`echo '$''{'ac_cv_prog_TEXI2HTML'+set}'`\" = set"; then
     2387  echo $ac_n "(cached) $ac_c" 1>&6
     2388else
     2389  if test -n "$TEXI2HTML"; then
     2390  ac_cv_prog_TEXI2HTML="$TEXI2HTML" # Let the user override the test.
     2391else
     2392  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     2393  ac_dummy="$PATH"
     2394  for ac_dir in $ac_dummy; do
     2395    test -z "$ac_dir" && ac_dir=.
     2396    if test -f $ac_dir/$ac_word; then
     2397      ac_cv_prog_TEXI2HTML="texi2html"
     2398      break
     2399    fi
     2400  done
     2401  IFS="$ac_save_ifs"
     2402fi
     2403fi
     2404TEXI2HTML="$ac_cv_prog_TEXI2HTML"
     2405if test -n "$TEXI2HTML"; then
     2406  echo "$ac_t""$TEXI2HTML" 1>&6
     2407else
     2408  echo "$ac_t""no" 1>&6
     2409fi
     2410
     2411fi
     2412
     2413if test "${TEXI2HTML+set}" != set; then
     2414echo "configure: warning: texi2html not found. HTML doc generation will fail" 1>&2
     2415fi
     2416if test "$ac_cv_prog_LATEX2HTML" = latex2html; then
     2417  TEXI2HTML_OPTS="-l2h"
     2418fi
     2419
     2420
    24232421
    24242422echo $ac_n "checking whether to build doc""... $ac_c" 1>&6
    2425 echo "configure:2426: checking whether to build doc" >&5
     2423echo "configure:2424: checking whether to build doc" >&5
    24262424if test "$enable_doc" != no && test -d doc; then
    24272425 echo "$ac_t""yes" 1>&6
     
    24372435
    24382436echo $ac_n "checking whether to build emacs""... $ac_c" 1>&6
    2439 echo "configure:2440: checking whether to build emacs" >&5
     2437echo "configure:2438: checking whether to build emacs" >&5
    24402438if test "$enable_doc" = yes && test "$enable_emacs" != no && test -d emacs; then
    24412439 echo "$ac_t""yes" 1>&6
     
    24492447
    24502448echo $ac_n "checking which apint package to use""... $ac_c" 1>&6
    2451 echo "configure:2452: checking which apint package to use" >&5
     2449echo "configure:2450: checking which apint package to use" >&5
    24522450if test "$with_apint" = gmp; then
    24532451  if test "$ac_gmp_ok" = yes || test "$enable_gmp" = yes; then
     
    24732471
    24742472echo $ac_n "checking whether to use with MP""... $ac_c" 1>&6
    2475 echo "configure:2476: checking whether to use with MP" >&5
     2473echo "configure:2474: checking whether to use with MP" >&5
    24762474if test "$with_MP" = yes; then
    24772475  if test "$ac_MP_ok" = yes || test "$enable_MP" = yes; then
     
    24922490
    24932491echo $ac_n "checking whether to use with factory""... $ac_c" 1>&6
    2494 echo "configure:2495: checking whether to use with factory" >&5
     2492echo "configure:2493: checking whether to use with factory" >&5
    24952493if test "$with_factory" = yes; then
    24962494  if test "$ac_factory_ok" = yes || test "$enable_factory" = yes; then
     
    25112509 
    25122510echo $ac_n "checking whether to use with libfac""... $ac_c" 1>&6
    2513 echo "configure:2514: checking whether to use with libfac" >&5
     2511echo "configure:2512: checking whether to use with libfac" >&5
    25142512if test "$with_libfac" = yes; then
    25152513  if test "$ac_libfac_ok" = yes || test "$enable_libfac" = yes; then
     
    25312529
    25322530echo $ac_n "checking whether to use with mtrack""... $ac_c" 1>&6
    2533 echo "configure:2534: checking whether to use with mtrack" >&5
     2531echo "configure:2532: checking whether to use with mtrack" >&5
    25342532if test "$with_mtrack" != no && test "$with_mtrack" != yes; then
    25352533  if test "$enable_mtrack" = yes; then
     
    25512549
    25522550echo $ac_n "checking whether to use with Singular""... $ac_c" 1>&6
    2553 echo "configure:2554: checking whether to use with Singular" >&5
     2551echo "configure:2552: checking whether to use with Singular" >&5
    25542552if test "$with_Singular" != no && test "$with_Singular" != yes; then
    25552553  if test "$enable_Singular" = yes; then
     
    26112609
    26122610echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
    2613 echo "configure:2614: checking whether ${MAKE-make} sets \${MAKE}" >&5
     2611echo "configure:2612: checking whether ${MAKE-make} sets \${MAKE}" >&5
    26142612set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
    26152613if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
     
    28032801s%@LATEX2HTML@%$LATEX2HTML%g
    28042802s%@LN_S@%$LN_S%g
    2805 s%@TEXI2HTML@%$TEXI2HTML%g
    2806 s%@TEXI2HTML_OPTS@%$TEXI2HTML_OPTS%g
    28072803s%@SINGULAR@%$SINGULAR%g
    28082804s%@TMP_DIR@%$TMP_DIR%g
     
    28112807s%@MAKEINFO@%$MAKEINFO%g
    28122808s%@TEXINDEX@%$TEXINDEX%g
     2809s%@TEXI2HTML@%$TEXI2HTML%g
     2810s%@TEXI2HTML_OPTS@%$TEXI2HTML_OPTS%g
    28132811s%@SET_MAKE@%$SET_MAKE%g
    28142812s%@SUBDIRS@%$SUBDIRS%g
  • configure.in

    r5f0f19 rd16193  
    8787AC_CHECK_PROG(LATEX2HTML, latex2html, latex2html)
    8888AC_PROG_LN_S
    89 if test -d Texi2html; then
    90 if test -r ${T2H_HOME}/texi2html.init; then
    91 TEXI2HTML=`pwd`/Texi2html/texi2html.pl
    92 else
    93 TEXI2HTML=`pwd`/Texi2html/texi2html
    94 fi
    95 AC_SUBST(TEXI2HTML)
    96 else
    97 AC_MSG_WARN(could not find Texi2html/texi2html HTML generation might fail)
    98 AC_CHECK_PROG(TEXI2HTML, texi2html, texi2html)
    99 fi
    100 if test "$ac_cv_prog_LATEX2HTML" = latex2html; then
    101   TEXI2HTML_OPTS="-l2h"
    102 fi
    103 AC_SUBST(TEXI2HTML_OPTS)
    10489
    10590dnl lllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll
     
    567552
    568553
    569 AC_MSG_CHECKING(whether to build Texi2html)
     554AC_MSG_CHECKING(whether to configure and build Texi2html)
    570555if test "$enable_Texi2html" != no && test -d Texi2html; then
    571556 AC_MSG_RESULT(yes)
     557 CONFIG_SUBDIRS="$CONFIG_SUBDIRS Texi2html"
    572558 BUILD_SUBDIRS="$BUILD_SUBDIRS Texi2html"
    573559 if test "$enable_Texi2html" != yes; then
    574560   ac_configure_args="$ac_configure_args --enable-Texi2html"
    575561 fi
     562 TEXI2HTML=${bindir}/texi2html
     563 AC_SUBST(TEXI2HTML)
    576564else
    577565 AC_MSG_RESULT(no)
    578 fi
     566 AC_CHECK_PROG(TEXI2HTML, texi2html, texi2html)
     567fi
     568
     569if test "${TEXI2HTML+set}" != set; then
     570AC_MSG_WARN(texi2html not found. HTML doc generation will fail)
     571fi
     572if test "$ac_cv_prog_LATEX2HTML" = latex2html; then
     573  TEXI2HTML_OPTS="-l2h"
     574fi
     575AC_SUBST(TEXI2HTML_OPTS)
     576
    579577
    580578AC_MSG_CHECKING(whether to build doc)
Note: See TracChangeset for help on using the changeset viewer.