]> git.donarmstrong.com Git - lilypond.git/blobdiff - configure
release: 1.4.1
[lilypond.git] / configure
index f582a235e4f0091bbaf75ff758f35173fc65b9e6..67fb475b0d76c73cd09533f1da37a6a7545d532b 100755 (executable)
--- a/configure
+++ b/configure
@@ -3147,7 +3147,7 @@ else
 #line 3148 "configure"
 #include "confdefs.h"
 #ifdef __cplusplus
-extern "C" void exit(int);
+extern "C" void exit(int) throw();
 #endif
 
 main()
@@ -3353,12 +3353,13 @@ cat >> confdefs.h <<EOF
 EOF
 
 
-for ac_prog in makeinfo
+
+    for ac_prog in makeinfo
 do
 # Extract the first word of "$ac_prog", so it can be a program name with args.
 set dummy $ac_prog; ac_word=$2
 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:3362: checking for $ac_word" >&5
+echo "configure:3363: checking for $ac_word" >&5
 if eval "test \"`echo '$''{'ac_cv_prog_MAKEINFO'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
@@ -3388,10 +3389,37 @@ test -n "$MAKEINFO" && break
 done
 test -n "$MAKEINFO" || MAKEINFO="error"
 
+    if test "$MAKEINFO" != "error"; then
+       echo $ac_n "checking whether makeinfo can split html by @node""... $ac_c" 1>&6
+echo "configure:3395: checking whether makeinfo can split html by @node" >&5
+       mkdir -p out
+       makeinfo --html --output=out/split <<EOF
+\input texinfo
+\input texinfo @c -*-texinfo-*-
+@setfilename split.info
+@settitle split.info
+@bye
+EOF
+       if test -d out/split; then
+           SPLITTING_MAKEINFO=yes
+           echo "$ac_t""yes" 1>&6
+           rm -rf out/split
+       else
+           echo "$ac_t""no" 1>&6
+           
+    echo "configure: warning: your html documentation will be one large file" 1>&2
+    warn_b=yes
+
+           rm -rf out/split
+       fi
+    fi
+    
+
+
 # Extract the first word of "perl", so it can be a program name with args.
 set dummy perl; ac_word=$2
 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:3395: checking for $ac_word" >&5
+echo "configure:3423: checking for $ac_word" >&5
 if eval "test \"`echo '$''{'ac_cv_path_PERL'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
@@ -3625,6 +3653,7 @@ s%@BIBTEX2HTML@%$BIBTEX2HTML%g
 s%@BIBTEX2HTML_FLAGS@%$BIBTEX2HTML_FLAGS%g
 s%@LIBOBJS@%$LIBOBJS%g
 s%@MAKEINFO@%$MAKEINFO%g
+s%@SPLITTING_MAKEINFO@%$SPLITTING_MAKEINFO%g
 s%@PERL@%$PERL%g
 
 CEOF