Changeset 9177e3 in git
- Timestamp:
- Jul 4, 2005, 4:50:42 PM (18 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
- Children:
- 8d3a46e0396ffb25e9c32244f5af2db7ec4d5a3e
- Parents:
- cb12e46b8b11ffabebe9caea01c5ddc872568759
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
configure
rcb12e46 r9177e3 2161 2161 fi 2162 2162 2163 2164 DOC2TEX_EXAMPLE_EXCLUSIONS="" 2165 2166 2163 2167 # Check whether --with-tmpdir or --without-tmpdir was given. 2164 2168 if test "${with_tmpdir+set}" = set; then … … 2277 2281 2278 2282 echo $ac_n "checking which tmp dir to use""... $ac_c" 1>&6 2279 echo "configure:228 0: checking which tmp dir to use" >&52283 echo "configure:2284: checking which tmp dir to use" >&5 2280 2284 if test "${with_tmpdir+set}" = set && test -d ${with_tmpdir}; then 2281 2285 if (echo "${with_tmpdir}" | egrep "\." >/dev/null 2>&1) … … 2292 2296 2293 2297 echo $ac_n "checking whether to configure and build omalloc""... $ac_c" 1>&6 2294 echo "configure:229 5: checking whether to configure and build omalloc" >&52298 echo "configure:2299: checking whether to configure and build omalloc" >&5 2295 2299 if test "${enable_omalloc+set}" != set; then 2296 2300 if test "$ac_cv_omalloc_ok" = yes; then … … 2330 2334 2331 2335 echo $ac_n "checking whether to configure and build gmp lib""... $ac_c" 1>&6 2332 echo "configure:233 3: checking whether to configure and build gmp lib" >&52336 echo "configure:2337: checking whether to configure and build gmp lib" >&5 2333 2337 if test "$enable_gmp" != yes && test "$enable_gmp" != no; then 2334 2338 if test "$ac_gmp_ok" != yes && test -d gmp; then … … 2376 2380 2377 2381 echo $ac_n "checking whether to configure and build smallgmp lib""... $ac_c" 1>&6 2378 echo "configure:23 79: checking whether to configure and build smallgmp lib" >&52382 echo "configure:2383: checking whether to configure and build smallgmp lib" >&5 2379 2383 if test "$enable_smallgmp" != yes && test "$enable_smallgmp" != no; then 2380 2384 if test "$ac_smallgmp_ok" != yes && test "$ac_gmp_ok" != yes && \ … … 2417 2421 2418 2422 echo $ac_n "checking whether to configure and build MP lib""... $ac_c" 1>&6 2419 echo "configure:242 0: checking whether to configure and build MP lib" >&52423 echo "configure:2424: checking whether to configure and build MP lib" >&5 2420 2424 if test "$enable_MP" != yes && test "$enable_MP" != no; then 2421 2425 if test "$with_MP" != no && test "$ac_MP_ok" != yes && test -d MP && \ … … 2451 2455 2452 2456 echo $ac_n "checking whether to configure and build NTL lib""... $ac_c" 1>&6 2453 echo "configure:245 4: checking whether to configure and build NTL lib" >&52457 echo "configure:2458: checking whether to configure and build NTL lib" >&5 2454 2458 if test "$enable_NTL" != yes && test "$enable_NTL" != no; then 2455 2459 if test "$with_NTL" != no && test "$ac_NTL_ok" != yes && \ … … 2476 2480 2477 2481 echo $ac_n "checking whether to configure and build factory lib""... $ac_c" 1>&6 2478 echo "configure:24 79: checking whether to configure and build factory lib" >&52482 echo "configure:2483: checking whether to configure and build factory lib" >&5 2479 2483 if test "$enable_factory" != yes && test "$enable_factory" != no; then 2480 2484 if test "$with_factory" != no && test "$ac_factory_ok" != yes && \ … … 2501 2505 2502 2506 echo $ac_n "checking whether to configure and build libfac lib""... $ac_c" 1>&6 2503 echo "configure:250 4: checking whether to configure and build libfac lib" >&52507 echo "configure:2508: checking whether to configure and build libfac lib" >&5 2504 2508 if test "$enable_libfac" != yes && test "$enable_libfac" != no; then 2505 2509 if test "$with_libfac" != no && test "$ac_libfac_ok" != yes && \ … … 2531 2535 2532 2536 echo $ac_n "checking whether to configure and build sgroup lib""... $ac_c" 1>&6 2533 echo "configure:253 4: checking whether to configure and build sgroup lib" >&52537 echo "configure:2538: checking whether to configure and build sgroup lib" >&5 2534 2538 if test "$enable_sgroup" = yes; then 2535 2539 if test ! -d sgroup; then … … 2551 2555 2552 2556 echo $ac_n "checking whether to configure and build Singular""... $ac_c" 1>&6 2553 echo "configure:255 4: checking whether to configure and build Singular" >&52557 echo "configure:2558: checking whether to configure and build Singular" >&5 2554 2558 if test "$enable_Singular" != yes && test "$enable_Singular" != no; then 2555 2559 if test "$with_Singular" != no && test -d Singular; then … … 2580 2584 2581 2585 echo $ac_n "checking whether to build IntegerProgramming""... $ac_c" 1>&6 2582 echo "configure:258 3: checking whether to build IntegerProgramming" >&52586 echo "configure:2587: checking whether to build IntegerProgramming" >&5 2583 2587 if test "$enable_IntegerProgramming" != no && test -d "IntegerProgramming"; then 2584 2588 BUILD_SUBDIRS="$BUILD_SUBDIRS IntegerProgramming" … … 2592 2596 2593 2597 echo $ac_n "checking whether to build Plural""... $ac_c" 1>&6 2594 echo "configure:259 5: checking whether to build Plural" >&52598 echo "configure:2599: checking whether to build Plural" >&5 2595 2599 if test "$enable_Plural" != no || test "$with_Plural" != no; then 2596 2600 echo "$ac_t""yes" 1>&6 … … 2604 2608 2605 2609 echo $ac_n "checking whether to configure and build Texinfo""... $ac_c" 1>&6 2606 echo "configure:26 07: checking whether to configure and build Texinfo" >&52610 echo "configure:2611: checking whether to configure and build Texinfo" >&5 2607 2611 if test "$enable_Texinfo" != no && test -d Texinfo; then 2608 2612 echo "$ac_t""yes" 1>&6 … … 2628 2632 set dummy makeinfo; ac_word=$2 2629 2633 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2630 echo "configure:263 1: checking for $ac_word" >&52634 echo "configure:2635: checking for $ac_word" >&5 2631 2635 if eval "test \"`echo '$''{'ac_cv_prog_MAKEINFO'+set}'`\" = set"; then 2632 2636 echo $ac_n "(cached) $ac_c" 1>&6 … … 2658 2662 set dummy texi2dvi; ac_word=$2 2659 2663 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2660 echo "configure:266 1: checking for $ac_word" >&52664 echo "configure:2665: checking for $ac_word" >&5 2661 2665 if eval "test \"`echo '$''{'ac_cv_prog_TEXI2DVI'+set}'`\" = set"; then 2662 2666 echo $ac_n "(cached) $ac_c" 1>&6 … … 2688 2692 set dummy texindex; ac_word=$2 2689 2693 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2690 echo "configure:269 1: checking for $ac_word" >&52694 echo "configure:2695: checking for $ac_word" >&5 2691 2695 if eval "test \"`echo '$''{'ac_cv_prog_TEXINDEX'+set}'`\" = set"; then 2692 2696 echo $ac_n "(cached) $ac_c" 1>&6 … … 2718 2722 set dummy texi2pdf; ac_word=$2 2719 2723 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2720 echo "configure:272 1: checking for $ac_word" >&52724 echo "configure:2725: checking for $ac_word" >&5 2721 2725 if eval "test \"`echo '$''{'ac_cv_prog_TEXI2PDF'+set}'`\" = set"; then 2722 2726 echo $ac_n "(cached) $ac_c" 1>&6 … … 2748 2752 2749 2753 echo $ac_n "checking whether to configure and build Texi2html""... $ac_c" 1>&6 2750 echo "configure:275 1: checking whether to configure and build Texi2html" >&52754 echo "configure:2755: checking whether to configure and build Texi2html" >&5 2751 2755 if test "$enable_Texi2html" != no && test -d Texi2html; then 2752 2756 echo "$ac_t""yes" 1>&6 … … 2763 2767 set dummy texi2html; ac_word=$2 2764 2768 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2765 echo "configure:27 66: checking for $ac_word" >&52769 echo "configure:2770: checking for $ac_word" >&5 2766 2770 if eval "test \"`echo '$''{'ac_cv_prog_TEXI2HTML'+set}'`\" = set"; then 2767 2771 echo $ac_n "(cached) $ac_c" 1>&6 … … 2801 2805 2802 2806 echo $ac_n "checking whether to build doc""... $ac_c" 1>&6 2803 echo "configure:280 4: checking whether to build doc" >&52807 echo "configure:2808: checking whether to build doc" >&5 2804 2808 if test "$enable_doc" != no && test -d doc; then 2805 2809 echo "$ac_t""yes" 1>&6 … … 2815 2819 2816 2820 echo $ac_n "checking whether to build emacs""... $ac_c" 1>&6 2817 echo "configure:28 18: checking whether to build emacs" >&52821 echo "configure:2822: checking whether to build emacs" >&5 2818 2822 if test "$enable_doc" = yes && test "$enable_emacs" != no && test -d emacs; then 2819 2823 echo "$ac_t""yes" 1>&6 … … 2827 2831 2828 2832 echo $ac_n "checking which apint package to use""... $ac_c" 1>&6 2829 echo "configure:283 0: checking which apint package to use" >&52833 echo "configure:2834: checking which apint package to use" >&5 2830 2834 if test "$with_apint" = gmp; then 2831 2835 if test "$ac_gmp_ok" = yes || test "$enable_gmp" = yes; then … … 2851 2855 2852 2856 echo $ac_n "checking whether to use with MP""... $ac_c" 1>&6 2853 echo "configure:285 4: checking whether to use with MP" >&52857 echo "configure:2858: checking whether to use with MP" >&5 2854 2858 if test "$with_MP" = yes; then 2855 2859 if test "$ac_MP_ok" = yes || test "$enable_MP" = yes; then … … 2867 2871 echo "$ac_t""no" 1>&6 2868 2872 ac_configure_args="$ac_configure_args --without-MP" 2873 DOC2TEX_EXAMPLE_EXCLUSIONS="$DOC2TEX_EXAMPLE_EXCLUSIONS -exclude MP" 2869 2874 fi 2870 2875 2871 2876 echo $ac_n "checking whether to use with factory""... $ac_c" 1>&6 2872 echo "configure:287 3: checking whether to use with factory" >&52877 echo "configure:2878: checking whether to use with factory" >&5 2873 2878 if test "$with_factory" = yes; then 2874 2879 if test "$ac_factory_ok" = yes || test "$enable_factory" = yes; then … … 2889 2894 2890 2895 echo $ac_n "checking whether to use with libfac""... $ac_c" 1>&6 2891 echo "configure:289 2: checking whether to use with libfac" >&52896 echo "configure:2897: checking whether to use with libfac" >&5 2892 2897 if test "$with_libfac" = yes; then 2893 2898 if test "$ac_libfac_ok" = yes || test "$enable_libfac" = yes; then … … 2910 2915 2911 2916 echo $ac_n "checking whether to use with Singular""... $ac_c" 1>&6 2912 echo "configure:291 3: checking whether to use with Singular" >&52917 echo "configure:2918: checking whether to use with Singular" >&5 2913 2918 if test "$with_Singular" != no && test "$with_Singular" != yes; then 2914 2919 if test "$enable_Singular" = yes; then … … 2976 2981 2977 2982 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 2978 echo "configure:29 79: checking whether ${MAKE-make} sets \${MAKE}" >&52983 echo "configure:2984: checking whether ${MAKE-make} sets \${MAKE}" >&5 2979 2984 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 2980 2985 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then … … 3175 3180 s%@MKINSTALLDIRS@%$MKINSTALLDIRS%g 3176 3181 s%@SINGULAR@%$SINGULAR%g 3182 s%@DOC2TEX_EXAMPLE_EXCLUSIONS@%$DOC2TEX_EXAMPLE_EXCLUSIONS%g 3177 3183 s%@TMP_DIR@%$TMP_DIR%g 3178 3184 s%@TEXI2DVI@%$TEXI2DVI%g -
configure.in
rcb12e46 r9177e3 242 242 dnl Check command line arguments 243 243 dnl 244 245 DOC2TEX_EXAMPLE_EXCLUSIONS="" 246 AC_SUBST(DOC2TEX_EXAMPLE_EXCLUSIONS) 247 244 248 AC_ARG_WITH(tmpdir, \ 245 249 [ --with-tmpdir=DIR use DIR as temporary directory]) … … 746 750 AC_MSG_RESULT(no) 747 751 ac_configure_args="$ac_configure_args --without-MP" 752 DOC2TEX_EXAMPLE_EXCLUSIONS="$DOC2TEX_EXAMPLE_EXCLUSIONS -exclude MP" 748 753 fi 749 754 -
doc/doc2tex.pl
rcb12e46 r9177e3 1 1 #!/usr/local/bin/perl 2 # $Id: doc2tex.pl,v 1.2 7 2003-04-25 13:23:46 levandovExp $2 # $Id: doc2tex.pl,v 1.28 2005-07-04 14:50:16 Singular Exp $ 3 3 ################################################################### 4 4 # Computer Algebra System SINGULAR … … 65 65 $reuse = 1; 66 66 $no_ex = 0; 67 %exclude_ex = (); 67 68 $no_fun = 0; 68 69 $doc_subdir = "./d2t_singular"; … … 115 116 if (/^-c(lean)?$/) { $clean = 1; next;} 116 117 if (/^-no_e(x)?$/) { $no_ex = 1; next;} 118 if (/^-exclude$/) { $exclude_ex{shift(@ARGV)} = 1;next;} 117 119 if (/^-no_fu(n)?$/) { $no_fun = 1;next;} 118 120 if (/^-m(ake)?$/) { $make = shift(@ARGV);next;} … … 262 264 { 263 265 my($inc_file, $ex_file, $lline, $thisexample, $error_ok, $cache, $no_comp, 264 $unix_only );266 $unix_only, $tag); 265 267 266 268 $lline = $line; … … 270 272 $examples{$section}++; 271 273 272 if ($no_ex) 274 if (/tag:(\w+)/) 275 { 276 $tag = $1; 277 } 278 else 279 { 280 $tag = 'NOTAG'; 281 } 282 283 if ($no_ex or $exclude_ex{$tag}) 273 284 { 274 285 print "{$ex_prefix}" if ($verbose); … … 301 312 last if (/^\@c\s*example\s*$/); 302 313 # s/^\s*//; # remove preceeding white spaces 303 if ($no_ex || $ no_comp || $unix_only)314 if ($no_ex || $exclude_ex{$tag} || $no_comp || $unix_only) 304 315 { 305 316 &protect_texi; … … 321 332 322 333 # done, if no examples 323 return if ($no_ex || $ no_comp || $unix_only);334 return if ($no_ex || $exclude_ex{$tag} || $no_comp || $unix_only); 324 335 325 336 # check whether it can be reused -
ntl/configure
rcb12e46 r9177e3 1 1 #!/bin/sh 2 # version $Id: configure,v 1.20 2005-05-02 14:08:07 Singular Exp $ 3 for i in $* 4 do 5 case $i in 6 --prefix=*) prefix=`echo $i|sed 's/--prefix=//'` ;; 7 --libdir=*) libdir=`echo $i|sed 's/--libdir=//'` ;; 8 --includedir=*) includedir=`echo $i|sed 's/--includedir=//'` ;; 9 esac 2 # version $Id: configure,v 1.21 2005-07-04 14:50:17 Singular Exp $ 3 4 while [ $# -ne 0 ]; do 5 case $1 in 6 --prefix=*) 7 prefix=`echo $1 | sed 's/--prefix=//'` ; 8 ;; 9 --prefix) 10 shift; 11 prefix="$1"; 12 ;; 13 --libdir=*) 14 libdir=`echo $1 | sed 's/--libdir=//'` ; 15 ;; 16 --libdir) 17 shift; 18 libdir="$1"; 19 ;; 20 --includedir=*) 21 includedir=`echo $1 | sed 's/--includedir=//'` ; 22 ;; 23 --includedir) 24 shift; 25 includedir="$1"; 26 ;; 27 *) 28 echo "Unknown option: $1"; 29 ;; 30 esac; 31 shift; 10 32 done 11 33
Note: See TracChangeset
for help on using the changeset viewer.