Changeset 2f7cc5 in git
- Timestamp:
- May 31, 2006, 6:21:50 PM (17 years ago)
- Branches:
- (u'spielwiese', '91fdef05f09f54b8d58d92a472e9c4a43aa4656f')
- Children:
- aaa39a5f3bfb59db4dc34d109d40f75d267a1ff9
- Parents:
- d45ad9b4fc43037b47292cb6d24fc9e6f9f539df
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
configure
rd45ad9 r2f7cc5 2330 2330 fi 2331 2331 2332 #AC_MSG_CHECKING(whether to configure and build MP lib) 2333 # requires: sizeof(long)==4 2334 echo $ac_n "checking size of long""... $ac_c" 1>&6 2335 echo "configure:2336: checking size of long" >&5 2336 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then 2337 echo $ac_n "(cached) $ac_c" 1>&6 2338 else 2339 if test "$cross_compiling" = yes; then 2340 ac_cv_sizeof_long=4 2341 else 2342 cat > conftest.$ac_ext <<EOF 2343 #line 2344 "configure" 2344 #include "confdefs.h" 2345 #include <stdio.h> 2346 main() 2347 { 2348 FILE *f=fopen("conftestval", "w"); 2349 if (!f) exit(1); 2350 fprintf(f, "%d\n", sizeof(long)); 2351 exit(0); 2352 } 2353 EOF 2354 if { (eval echo configure:2355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2355 then 2356 ac_cv_sizeof_long=`cat conftestval` 2357 else 2358 echo "configure: failed program was:" >&5 2359 cat conftest.$ac_ext >&5 2360 rm -fr conftest* 2361 ac_cv_sizeof_long=0 2362 fi 2363 rm -fr conftest* 2364 fi 2365 2366 fi 2367 echo "$ac_t""$ac_cv_sizeof_long" 1>&6 2368 cat >> confdefs.h <<EOF 2369 #define SIZEOF_LONG $ac_cv_sizeof_long 2370 EOF 2371 2372 2373 if test "$ac_cv_sizeof_long" != 4; then 2374 with_MP=no 2375 fi 2376 2332 2377 echo $ac_n "checking whether to configure and build MP lib""... $ac_c" 1>&6 2333 echo "configure:2334: checking whether to configure and build MP lib" >&5 2378 echo "configure:2379: checking whether to configure and build MP lib" >&5 2379 2334 2380 if test "$enable_MP" != yes && test "$enable_MP" != no; then 2335 2381 if test "$with_MP" != no && test "$ac_MP_ok" != yes && test -d MP && \ … … 2367 2413 2368 2414 echo $ac_n "checking whether to configure and build NTL lib""... $ac_c" 1>&6 2369 echo "configure:2 370: checking whether to configure and build NTL lib" >&52415 echo "configure:2416: checking whether to configure and build NTL lib" >&5 2370 2416 if test "$enable_NTL" != yes && test "$enable_NTL" != no; then 2371 2417 if test "$with_NTL" != no && test "$ac_NTL_ok" != yes && \ … … 2384 2430 2385 2431 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6 2386 echo "configure:2 387: checking how to run the C++ preprocessor" >&52432 echo "configure:2433: checking how to run the C++ preprocessor" >&5 2387 2433 if test -z "$CXXCPP"; then 2388 2434 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then … … 2397 2443 CXXCPP="${CXX-g++} -E" 2398 2444 cat > conftest.$ac_ext <<EOF 2399 #line 24 00"configure"2445 #line 2446 "configure" 2400 2446 #include "confdefs.h" 2401 2447 #include <stdlib.h> 2402 2448 EOF 2403 2449 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2404 { (eval echo configure:24 05: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2450 { (eval echo configure:2451: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2405 2451 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2406 2452 if test -z "$ac_err"; then … … 2430 2476 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2431 2477 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2432 echo "configure:24 33: checking for $ac_hdr" >&52478 echo "configure:2479: checking for $ac_hdr" >&5 2433 2479 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2434 2480 echo $ac_n "(cached) $ac_c" 1>&6 2435 2481 else 2436 2482 cat > conftest.$ac_ext <<EOF 2437 #line 24 38"configure"2483 #line 2484 "configure" 2438 2484 #include "confdefs.h" 2439 2485 #include <$ac_hdr> 2440 2486 EOF 2441 2487 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2442 { (eval echo configure:24 43: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2488 { (eval echo configure:2489: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2443 2489 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2444 2490 if test -z "$ac_err"; then … … 2485 2531 2486 2532 echo $ac_n "checking whether to configure and build factory lib""... $ac_c" 1>&6 2487 echo "configure:2 488: checking whether to configure and build factory lib" >&52533 echo "configure:2534: checking whether to configure and build factory lib" >&5 2488 2534 if test "$enable_factory" != yes && test "$enable_factory" != no; then 2489 2535 if test "$with_factory" != no && test "$ac_factory_ok" != yes && \ … … 2512 2558 2513 2559 echo $ac_n "checking whether to configure and build libfac lib""... $ac_c" 1>&6 2514 echo "configure:25 15: checking whether to configure and build libfac lib" >&52560 echo "configure:2561: checking whether to configure and build libfac lib" >&5 2515 2561 if test "$enable_libfac" != yes && test "$enable_libfac" != no; then 2516 2562 if test "$with_libfac" != no && test "$ac_libfac_ok" != yes && \ … … 2544 2590 2545 2591 echo $ac_n "checking whether to configure and build sgroup lib""... $ac_c" 1>&6 2546 echo "configure:25 47: checking whether to configure and build sgroup lib" >&52592 echo "configure:2593: checking whether to configure and build sgroup lib" >&5 2547 2593 if test "$enable_sgroup" = yes; then 2548 2594 if test ! -d sgroup; then … … 2565 2611 2566 2612 echo $ac_n "checking whether to configure and build Singular""... $ac_c" 1>&6 2567 echo "configure:2 568: checking whether to configure and build Singular" >&52613 echo "configure:2614: checking whether to configure and build Singular" >&5 2568 2614 if test "$enable_Singular" != yes && test "$enable_Singular" != no; then 2569 2615 if test "$with_Singular" != no && test -d Singular; then … … 2596 2642 2597 2643 echo $ac_n "checking whether to build IntegerProgramming""... $ac_c" 1>&6 2598 echo "configure:2 599: checking whether to build IntegerProgramming" >&52644 echo "configure:2645: checking whether to build IntegerProgramming" >&5 2599 2645 if test "$enable_IntegerProgramming" != no && test -d "IntegerProgramming"; then 2600 2646 BUILD_SUBDIRS="$BUILD_SUBDIRS IntegerProgramming" … … 2609 2655 2610 2656 echo $ac_n "checking whether to build Plural""... $ac_c" 1>&6 2611 echo "configure:26 12: checking whether to build Plural" >&52657 echo "configure:2658: checking whether to build Plural" >&5 2612 2658 if test "$enable_Plural" != no || test "$with_Plural" != no; then 2613 2659 echo "$ac_t""yes" 1>&6 … … 2621 2667 2622 2668 echo $ac_n "checking whether to configure and build Texinfo""... $ac_c" 1>&6 2623 echo "configure:26 24: checking whether to configure and build Texinfo" >&52669 echo "configure:2670: checking whether to configure and build Texinfo" >&5 2624 2670 if test "$enable_Texinfo" != no && test -d Texinfo; then 2625 2671 echo "$ac_t""yes" 1>&6 … … 2645 2691 set dummy makeinfo; ac_word=$2 2646 2692 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2647 echo "configure:26 48: checking for $ac_word" >&52693 echo "configure:2694: checking for $ac_word" >&5 2648 2694 if eval "test \"`echo '$''{'ac_cv_prog_MAKEINFO'+set}'`\" = set"; then 2649 2695 echo $ac_n "(cached) $ac_c" 1>&6 … … 2675 2721 set dummy texi2dvi; ac_word=$2 2676 2722 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2677 echo "configure:2 678: checking for $ac_word" >&52723 echo "configure:2724: checking for $ac_word" >&5 2678 2724 if eval "test \"`echo '$''{'ac_cv_prog_TEXI2DVI'+set}'`\" = set"; then 2679 2725 echo $ac_n "(cached) $ac_c" 1>&6 … … 2705 2751 set dummy texindex; ac_word=$2 2706 2752 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2707 echo "configure:27 08: checking for $ac_word" >&52753 echo "configure:2754: checking for $ac_word" >&5 2708 2754 if eval "test \"`echo '$''{'ac_cv_prog_TEXINDEX'+set}'`\" = set"; then 2709 2755 echo $ac_n "(cached) $ac_c" 1>&6 … … 2735 2781 set dummy texi2pdf; ac_word=$2 2736 2782 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2737 echo "configure:27 38: checking for $ac_word" >&52783 echo "configure:2784: checking for $ac_word" >&5 2738 2784 if eval "test \"`echo '$''{'ac_cv_prog_TEXI2PDF'+set}'`\" = set"; then 2739 2785 echo $ac_n "(cached) $ac_c" 1>&6 … … 2765 2811 2766 2812 echo $ac_n "checking whether to configure and build Texi2html""... $ac_c" 1>&6 2767 echo "configure:2 768: checking whether to configure and build Texi2html" >&52813 echo "configure:2814: checking whether to configure and build Texi2html" >&5 2768 2814 if test "$enable_Texi2html" != no && test -d Texi2html; then 2769 2815 echo "$ac_t""yes" 1>&6 … … 2780 2826 set dummy texi2html; ac_word=$2 2781 2827 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2782 echo "configure:2 783: checking for $ac_word" >&52828 echo "configure:2829: checking for $ac_word" >&5 2783 2829 if eval "test \"`echo '$''{'ac_cv_prog_TEXI2HTML'+set}'`\" = set"; then 2784 2830 echo $ac_n "(cached) $ac_c" 1>&6 … … 2818 2864 2819 2865 echo $ac_n "checking whether to build doc""... $ac_c" 1>&6 2820 echo "configure:28 21: checking whether to build doc" >&52866 echo "configure:2867: checking whether to build doc" >&5 2821 2867 if test "$enable_doc" != no && test -d doc; then 2822 2868 echo "$ac_t""yes" 1>&6 … … 2832 2878 2833 2879 echo $ac_n "checking whether to build emacs""... $ac_c" 1>&6 2834 echo "configure:28 35: checking whether to build emacs" >&52880 echo "configure:2881: checking whether to build emacs" >&5 2835 2881 if test "$enable_doc" = yes && test "$enable_emacs" != no && test -d emacs; then 2836 2882 echo "$ac_t""yes" 1>&6 … … 2844 2890 2845 2891 echo $ac_n "checking which apint package to use""... $ac_c" 1>&6 2846 echo "configure:28 47: checking which apint package to use" >&52892 echo "configure:2893: checking which apint package to use" >&5 2847 2893 if test "$with_apint" = gmp; then 2848 2894 if test "$ac_gmp_ok" = yes || test "$enable_gmp" = yes; then … … 2860 2906 2861 2907 echo $ac_n "checking whether to use with MP""... $ac_c" 1>&6 2862 echo "configure:2 863: checking whether to use with MP" >&52908 echo "configure:2909: checking whether to use with MP" >&5 2863 2909 if test "$with_MP" = yes; then 2864 2910 if test "$ac_MP_ok" = yes || test "$enable_MP" = yes; then … … 2880 2926 2881 2927 echo $ac_n "checking whether to use with factory""... $ac_c" 1>&6 2882 echo "configure:2 883: checking whether to use with factory" >&52928 echo "configure:2929: checking whether to use with factory" >&5 2883 2929 if test "$with_factory" = yes; then 2884 2930 if test "$ac_factory_ok" = yes || test "$enable_factory" = yes; then … … 2899 2945 2900 2946 echo $ac_n "checking whether to use with libfac""... $ac_c" 1>&6 2901 echo "configure:29 02: checking whether to use with libfac" >&52947 echo "configure:2948: checking whether to use with libfac" >&5 2902 2948 if test "$with_libfac" = yes; then 2903 2949 if test "$ac_libfac_ok" = yes || test "$enable_libfac" = yes; then … … 2920 2966 2921 2967 echo $ac_n "checking whether to use with Singular""... $ac_c" 1>&6 2922 echo "configure:29 23: checking whether to use with Singular" >&52968 echo "configure:2969: checking whether to use with Singular" >&5 2923 2969 if test "$with_Singular" != no && test "$with_Singular" != yes; then 2924 2970 if test "$enable_Singular" = yes; then … … 2983 3029 2984 3030 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 2985 echo "configure: 2986: checking whether ${MAKE-make} sets \${MAKE}" >&53031 echo "configure:3032: checking whether ${MAKE-make} sets \${MAKE}" >&5 2986 3032 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 2987 3033 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then -
configure.in
rd45ad9 r2f7cc5 401 401 fi 402 402 403 #AC_MSG_CHECKING(whether to configure and build MP lib) 404 # requires: sizeof(long)==4 405 AC_CHECK_SIZEOF(long,4) 406 if test "$ac_cv_sizeof_long" != 4; then 407 with_MP=no 408 fi 409 403 410 AC_MSG_CHECKING(whether to configure and build MP lib) 411 404 412 if test "$enable_MP" != yes && test "$enable_MP" != no; then 405 413 if test "$with_MP" != no && test "$ac_MP_ok" != yes && test -d MP && \
Note: See TracChangeset
for help on using the changeset viewer.