Changeset 231 for ThirdParty/FilterSQP/trunk/configure
- Timestamp:
- Feb 28, 2007 10:02:36 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ThirdParty/FilterSQP/trunk/configure
r205 r231 473 473 #endif" 474 474 475 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS ADDLIBS FADDLIBS ALWAYS_FALSE_TRUE ALWAYS_FALSE_FALSE build build_cpu build_vendor build_os CDEFS ADD_CFLAGS DBG_CFLAGS OPT_CFLAGS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT MPICC ADD_FFLAGS DBG_FFLAGS OPT_FFLAGS F77 FFLAGS ac_ct_F77 MPIF77 EGREP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBTOOLM4 have_autoconf have_automake have_svn BUILDTOOLSDIR AUX_DIR abs_source_dir abs_lib_dir abs_include_dir abs_bin_dir HAVE_EXTERNALS_TRUE HAVE_EXTERNALS_FALSE host host_cpu host_vendor host_os LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP LIBTOOL RPATH_FLAGS LT_LDFLAGS LIBEXT VPATH_DISTCLEANFILES LIBOBJS LTLIBOBJS'475 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS ADDLIBS FADDLIBS ALWAYS_FALSE_TRUE ALWAYS_FALSE_FALSE build build_cpu build_vendor build_os CDEFS ADD_CFLAGS DBG_CFLAGS OPT_CFLAGS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT MPICC ADD_FFLAGS DBG_FFLAGS OPT_FFLAGS F77 FFLAGS ac_ct_F77 MPIF77 EGREP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBTOOLM4 have_autoconf have_automake have_svn BUILDTOOLSDIR AUX_DIR abs_source_dir abs_lib_dir abs_include_dir abs_bin_dir HAVE_EXTERNALS_TRUE HAVE_EXTERNALS_FALSE host host_cpu host_vendor host_os LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP LIBTOOL ac_c_preproc_warn_flag ac_cxx_preproc_warn_flag RPATH_FLAGS LT_LDFLAGS LIBEXT VPATH_DISTCLEANFILES LIBOBJS LTLIBOBJS' 476 476 ac_subst_files='' 477 477 … … 1075 1075 compile this project (FilterSQP) with debug options 1076 1076 --enable-doscompile Under Cygwin, compile so that executables run under 1077 DOS (default: disabled) 1077 DOS. Set to mingw to use gcc/g++/ld with 1078 -mno-cygwin. Set to msvc to use cl/link. Default 1079 when mentioned: mingw. Default when not mentioned: 1080 disabled. 1078 1081 --disable-dependency-tracking speeds up one-time build 1079 1082 --enable-dependency-tracking do not reject slow dependency extractors … … 1777 1780 fi 1778 1781 ;; 1779 esac 1780 1781 # Check whether --enable-doscompile or --disable-doscompile was given. 1782 esac 1783 case $enable_doscompile in 1784 msvc) 1785 if test "x${LD+set}" = xset; then :; else 1786 LD=link 1787 fi 1788 ;; 1789 esac 1790 1791 1792 # Check whether --enable-doscompile or --disable-doscompile was given. 1782 1793 if test "${enable_doscompile+set}" = set; then 1783 1794 enableval="$enable_doscompile" 1784 if test "$enable_doscompile = yes"; then1785 case $build in1786 *-cygwin*) ;;1787 *) { { echo "$as_me:$LINENO: error: --enable-doscompile option makes only senseunder Cygwin" >&51788 echo "$as_me: error: --enable-doscompile option makes only senseunder Cygwin" >&2;}1795 if test "$enable_doscompile" != no; then 1796 case $build in 1797 *-cygwin*) ;; 1798 *) { { echo "$as_me:$LINENO: error: --enable-doscompile option makes sense only under Cygwin" >&5 1799 echo "$as_me: error: --enable-doscompile option makes sense only under Cygwin" >&2;} 1789 1800 { (exit 1); exit 1; }; } ;; 1790 esac1791 fi1801 esac 1802 fi 1792 1803 else 1793 1804 enable_doscompile=no 1794 1805 fi; 1806 case "$enable_doscompile" in 1807 msvc|mingw|no) ;; 1808 yes) enable_doscompile=mingw ;; 1809 *) { { echo "$as_me:$LINENO: error: Invalid value $enable_doscompile for --enable-doscompile. 1810 Try configure --help=recursive." >&5 1811 echo "$as_me: error: Invalid value $enable_doscompile for --enable-doscompile. 1812 Try configure --help=recursive." >&2;} 1813 { (exit 1); exit 1; }; } 1814 ;; 1815 esac 1816 if test "$enable_doscompile" != no ; then 1817 { echo "$as_me:$LINENO: DOS compile style is: $enable_doscompile" >&5 1818 echo "$as_me: DOS compile style is: $enable_doscompile" >&6;} 1819 fi 1795 1820 1796 1821 … … 1826 1851 1827 1852 save_cflags="$CFLAGS" 1853 # For sparc-sun-solaris, promote Studio/Workshop compiler to front of list. 1854 # ToDo: If Studio/Workshop cc is not present, we may find /usr/ucb/cc, which 1855 # is likely to be a non-functional shell. But many installations will have 1856 # both cc and gcc, so promoting gcc isn't good either. How to test reliably? 1828 1857 case $build in 1829 1858 *-cygwin* | *-mingw*) 1830 comps="gcc cl" ;; 1859 if test "$enable_doscompile" = msvc ; then 1860 comps="cl" 1861 else 1862 comps="gcc cl" 1863 fi ;; 1864 sparc-sun-solaris*) 1865 comps="cc xlc gcc pgcc icc" ;; 1831 1866 *-linux-*) comps="xlc gcc cc pgcc icc" ;; 1832 1867 *) comps="xlc_r xlc cc gcc pgcc icc" ;; … … 1836 1871 # performed with our choice of compilers earlier 1837 1872 $as_unset ac_cv_prog_CC || test "${ac_cv_prog_CC+set}" != set || { ac_cv_prog_CC=; export ac_cv_prog_CC; } 1873 # AC_MSG_NOTICE([C compiler candidates: $comps]) 1838 1874 ac_ext=c 1839 1875 ac_cpp='$CPP $CPPFLAGS' … … 2589 2625 coin_dbg_cflags="-g" 2590 2626 coin_warn_cflags="-pedantic-errors -Wimplicit -Wparentheses -Wsequence-point -Wreturn-type -Wcast-qual -Wall" 2591 if test "$enable_doscompile" = yes; then 2592 case $build in 2593 *-cygwin*) 2594 CFLAGS="-mno-cygwin" 2595 cat >conftest.$ac_ext <<_ACEOF 2627 case $enable_doscompile in 2628 mingw) 2629 CFLAGS="-mno-cygwin" 2630 cat >conftest.$ac_ext <<_ACEOF 2596 2631 /* confdefs.h. */ 2597 2632 _ACEOF … … 2638 2673 rm -f conftest.err conftest.$ac_objext \ 2639 2674 conftest$ac_exeext conftest.$ac_ext 2640 CFLAGS= 2641 ;; 2642 esac 2643 fi 2675 CFLAGS= 2676 ;; 2677 esac 2644 2678 esac 2645 2679 fi … … 2649 2683 case "$CC" in 2650 2684 cl* | */cl* | CL* | */CL*) 2651 coin_opt_cflags='- O2'2652 coin_add_cflags='-nologo '2685 coin_opt_cflags='-MT -O2' 2686 coin_add_cflags='-nologo -wd4996' 2653 2687 coin_dbg_cflags='-MTd' 2654 2688 ;; … … 2826 2860 fi 2827 2861 2862 # If CFLAGS contains -mno-cygwin, CPPFLAGS must also have it. 2863 2864 case "$CFLAGS" in 2865 *-mno-cygwin*) 2866 if test x${CPPFLAGS+set} != xset ; then 2867 CPPFLAGS="-mno-cygwin" 2868 else 2869 case "$CPPFLAGS" in 2870 *-mno-cygwin*) 2871 ;; 2872 *) 2873 CPPFLAGS="$CPPFLAGS -mno-cygwin" 2874 ;; 2875 esac 2876 fi ;; 2877 esac 2878 2828 2879 # Try if CFLAGS works 2829 2880 save_CFLAGS="$CFLAGS" … … 2950 3001 fi 2951 3002 ;; 2952 esac 3003 esac 3004 case $enable_doscompile in 3005 msvc) 3006 if test "x${LD+set}" = xset; then :; else 3007 LD=link 3008 fi 3009 ;; 3010 esac 2953 3011 2954 3012 ;; … … 2964 3022 case $build in 2965 3023 *-cygwin* | *-mingw*) 2966 coin_f77_comps="gfortran g77 ifort fl32" ;; 3024 if test "$enable_doscompile" = msvc ; then 3025 coin_f77_comps="ifort fl32" 3026 else 3027 coin_f77_comps="gfortran g77 ifort fl32" 3028 fi ;; 3029 sparc-sun-solaris*) 3030 coin_f77_comps="f95 f90 f77 xlf fort77 gfortran g77 pgf90 pgf77 ifort ifc frt af77" ;; 2967 3031 *) coin_f77_comps="xlf fort77 gfortran f77 g77 pgf90 pgf77 ifort ifc frt af77" ;; 2968 esac3032 esac 2969 3033 2970 3034 … … 2986 3050 2987 3051 save_fflags="$FFLAGS" 2988 comps="$coin_f77_comps" #This comes from AC_COIN_F77_COMPS2989 3052 2990 3053 # We delete the cached value, since the test might not have been 2991 3054 # performed with our choice of compilers earlier 2992 3055 $as_unset ac_cv_prog_F77 || test "${ac_cv_prog_F77+set}" != set || { ac_cv_prog_F77=; export ac_cv_prog_F77; } 2993 ac_ext=f 3056 3057 # This is a real belt-and-suspenders approach. AC_COIN_FIND_F77 will use 3058 # coin_f77_comps to see if there's a program that matches one of the names. 3059 # If there's no such program, F77 = unavailable. If we match the name, 3060 # feed AC_PROG_F77 the same search list, just to be sure it's a functioning 3061 # compiler. 3062 # AC_MSG_NOTICE([Fortran compiler candidates: $coin_f77_comps]) 3063 3064 3065 { echo "$as_me:$LINENO: Trying to determine Fortran compiler name" >&5 3066 echo "$as_me: Trying to determine Fortran compiler name" >&6;} 3067 for ac_prog in $coin_f77_comps 3068 do 3069 # Extract the first word of "$ac_prog", so it can be a program name with args. 3070 set dummy $ac_prog; ac_word=$2 3071 echo "$as_me:$LINENO: checking for $ac_word" >&5 3072 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3073 if test "${ac_cv_prog_F77+set}" = set; then 3074 echo $ECHO_N "(cached) $ECHO_C" >&6 3075 else 3076 if test -n "$F77"; then 3077 ac_cv_prog_F77="$F77" # Let the user override the test. 3078 else 3079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3080 for as_dir in $PATH 3081 do 3082 IFS=$as_save_IFS 3083 test -z "$as_dir" && as_dir=. 3084 for ac_exec_ext in '' $ac_executable_extensions; do 3085 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3086 ac_cv_prog_F77="$ac_prog" 3087 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3088 break 2 3089 fi 3090 done 3091 done 3092 3093 fi 3094 fi 3095 F77=$ac_cv_prog_F77 3096 if test -n "$F77"; then 3097 echo "$as_me:$LINENO: result: $F77" >&5 3098 echo "${ECHO_T}$F77" >&6 3099 else 3100 echo "$as_me:$LINENO: result: no" >&5 3101 echo "${ECHO_T}no" >&6 3102 fi 3103 3104 test -n "$F77" && break 3105 done 3106 test -n "$F77" || F77="unavailable" 3107 3108 3109 if test "$F77" != "unavailable" ; then 3110 ac_ext=f 2994 3111 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' 2995 3112 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2996 3113 ac_compiler_gnu=$ac_cv_f77_compiler_gnu 2997 3114 if test -n "$ac_tool_prefix"; then 2998 for ac_prog in $co mps3115 for ac_prog in $coin_f77_comps 2999 3116 do 3000 3117 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. … … 3038 3155 if test -z "$F77"; then 3039 3156 ac_ct_F77=$F77 3040 for ac_prog in $co mps3157 for ac_prog in $coin_f77_comps 3041 3158 do 3042 3159 # Extract the first word of "$ac_prog", so it can be a program name with args. … … 3083 3200 3084 3201 # Provide some information about the compiler. 3085 echo "$as_me:3 085:" \3202 echo "$as_me:3202:" \ 3086 3203 "checking for Fortran 77 compiler version" >&5 3087 3204 ac_compiler=`set X $ac_compile; echo $2` … … 3226 3343 ac_compiler_gnu=$ac_cv_f77_compiler_gnu 3227 3344 3228 if test -z "$F77" ; then 3345 else 3229 3346 { echo "$as_me:$LINENO: WARNING: Failed to find a Fortran compiler!" >&5 3230 3347 echo "$as_me: WARNING: Failed to find a Fortran compiler!" >&2;} 3231 3348 fi 3349 3232 3350 FFLAGS="$save_fflags" 3233 3351 … … 3240 3358 fi 3241 3359 3242 if test x"$FFLAGS" = x; then3360 if test "$F77" != "unavailable" && test x"$FFLAGS" = x ; then 3243 3361 3244 3362 coin_add_fflags= … … 3251 3369 coin_add_fflags="-pipe" 3252 3370 coin_dbg_fflags="-g" 3253 if test "$enable_doscompile" = yes; then 3254 case $build in 3255 *-cygwin*) 3256 FFLAGS="-mno-cygwin" 3257 cat >conftest.$ac_ext <<_ACEOF 3371 case $enable_doscompile in 3372 mingw) 3373 FFLAGS="-mno-cygwin" 3374 cat >conftest.$ac_ext <<_ACEOF 3258 3375 program main 3259 3376 write(*,*) 'Hello world' … … 3290 3407 rm -f conftest.err conftest.$ac_objext \ 3291 3408 conftest$ac_exeext conftest.$ac_ext 3292 FFLAGS= 3293 ;; 3294 esac 3295 fi 3409 FFLAGS= 3410 ;; 3411 esac 3296 3412 else 3297 3413 case $build in … … 3456 3572 fi 3457 3573 3574 # If FFLAGS contains -mno-cygwin, CPPFLAGS must have it. 3575 case "$FFLAGS" in 3576 *-mno-cygwin*) 3577 if test x${CPPFLAGS+set} != xset ; then 3578 CPPFLAGS="-mno-cygwin" 3579 else 3580 case "$CPPFLAGS" in 3581 *-mno-cygwin*) 3582 ;; 3583 *) 3584 CPPFLAGS="$CPPFLAGS -mno-cygwin" 3585 ;; 3586 esac 3587 fi ;; 3588 esac 3589 3458 3590 # Try if FFLAGS works 3459 cat >conftest.$ac_ext <<_ACEOF 3460 program main 3461 integer i 3462 end 3463 _ACEOF 3464 rm -f conftest.$ac_objext conftest$ac_exeext 3465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3466 (eval $ac_link) 2>conftest.er1 3467 ac_status=$? 3468 grep -v '^ *+' conftest.er1 >conftest.err 3469 rm -f conftest.er1 3470 cat conftest.err >&5 3471 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3472 (exit $ac_status); } && 3473 { ac_try='test -z "$ac_f77_werror_flag" 3474 || test ! -s conftest.err' 3475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3476 (eval $ac_try) 2>&5 3477 ac_status=$? 3478 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3479 (exit $ac_status); }; } && 3480 { ac_try='test -s conftest$ac_exeext' 3481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3482 (eval $ac_try) 2>&5 3483 ac_status=$? 3484 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3485 (exit $ac_status); }; }; then 3486 : 3487 else 3488 echo "$as_me: failed program was:" >&5 3489 sed 's/^/| /' conftest.$ac_ext >&5 3490 3491 FFLAGS= 3492 fi 3493 rm -f conftest.err conftest.$ac_objext \ 3494 conftest$ac_exeext conftest.$ac_ext 3495 if test -z "$FFLAGS"; then 3496 { echo "$as_me:$LINENO: WARNING: The flags FFLAGS=\"$FFLAGS\" do not work. I will now just try '-O', but you might want to set FFLAGS manually." >&5 3497 echo "$as_me: WARNING: The flags FFLAGS=\"$FFLAGS\" do not work. I will now just try '-O', but you might want to set FFLAGS manually." >&2;} 3498 FFLAGS='-O' 3591 if test "$F77" != "unavailable" ; then 3499 3592 cat >conftest.$ac_ext <<_ACEOF 3500 3593 program main … … 3534 3627 conftest$ac_exeext conftest.$ac_ext 3535 3628 if test -z "$FFLAGS"; then 3536 { echo "$as_me:$LINENO: WARNING: This value for FFLAGS does not work. I will continue with empty FFLAGS, but you might want to set FFLAGS manually." >&5 3629 { echo "$as_me:$LINENO: WARNING: The flags FFLAGS=\"$FFLAGS\" do not work. I will now just try '-O', but you might want to set FFLAGS manually." >&5 3630 echo "$as_me: WARNING: The flags FFLAGS=\"$FFLAGS\" do not work. I will now just try '-O', but you might want to set FFLAGS manually." >&2;} 3631 FFLAGS='-O' 3632 cat >conftest.$ac_ext <<_ACEOF 3633 program main 3634 integer i 3635 end 3636 _ACEOF 3637 rm -f conftest.$ac_objext conftest$ac_exeext 3638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3639 (eval $ac_link) 2>conftest.er1 3640 ac_status=$? 3641 grep -v '^ *+' conftest.er1 >conftest.err 3642 rm -f conftest.er1 3643 cat conftest.err >&5 3644 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3645 (exit $ac_status); } && 3646 { ac_try='test -z "$ac_f77_werror_flag" 3647 || test ! -s conftest.err' 3648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3649 (eval $ac_try) 2>&5 3650 ac_status=$? 3651 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3652 (exit $ac_status); }; } && 3653 { ac_try='test -s conftest$ac_exeext' 3654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3655 (eval $ac_try) 2>&5 3656 ac_status=$? 3657 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3658 (exit $ac_status); }; }; then 3659 : 3660 else 3661 echo "$as_me: failed program was:" >&5 3662 sed 's/^/| /' conftest.$ac_ext >&5 3663 3664 FFLAGS= 3665 fi 3666 rm -f conftest.err conftest.$ac_objext \ 3667 conftest$ac_exeext conftest.$ac_ext 3668 if test -z "$FFLAGS"; then 3669 { echo "$as_me:$LINENO: WARNING: This value for FFLAGS does not work. I will continue with empty FFLAGS, but you might want to set FFLAGS manually." >&5 3537 3670 echo "$as_me: WARNING: This value for FFLAGS does not work. I will continue with empty FFLAGS, but you might want to set FFLAGS manually." >&2;} 3671 fi 3538 3672 fi 3539 3673 fi … … 3550 3684 3551 3685 case "$F77" in 3552 ifort* )3686 ifort* | */ifort* | IFORT* | */IFORT*) 3553 3687 case $build in 3554 3688 *-mingw*) … … 3557 3691 fi 3558 3692 ;; 3559 esac 3693 esac 3694 case $enable_doscompile in 3695 msvc) 3696 if test "x${LD+set}" = xset; then :; else 3697 LD=link 3698 fi 3699 ;; 3700 esac 3560 3701 3561 3702 ;; … … 3914 4055 3915 4056 4057 4058 # AC_MSG_NOTICE([Beginning automake initialisation.]) 3916 4059 # Stuff for automake 3917 4060 # test to see if srcdir already configured … … 4593 4736 4594 4737 4738 # AC_MSG_NOTICE([End automake initialisation.]) 4739 4740 4595 4741 4596 4742 # Initialize automake … … 4655 4801 # Initialize automake 4656 4802 4803 4804 # AC_MSG_NOTICE([Beginning automake initialisation.]) 4657 4805 # Stuff for automake 4658 4806 # test to see if srcdir already configured … … 5334 5482 5335 5483 5484 # AC_MSG_NOTICE([End automake initialisation.]) 5485 5486 5336 5487 5337 5488 unset ac_cv_file__________libtool … … 5386 5537 5387 5538 fi 5388 # if test "x$LIBTOOL" = x; then5389 # AC_CHECK_FILE([../../../libtool],5390 # [coin_config_dir=../../..5391 # LIBTOOL='$(SHELL) $(top_builddir)/../../../libtool'])5392 # fi5539 # if test "x$LIBTOOL" = x; then 5540 # AC_CHECK_FILE([../../../libtool], 5541 # [coin_config_dir=../../.. 5542 # LIBTOOL='$(SHELL) $(top_builddir)/../../../libtool']) 5543 # fi 5393 5544 5394 5545 if test "x$LIBTOOL" = x; then 5395 5546 # AC_MSG_NOTICE([Creating libtool script (calling COIN_PROG_LIBTOOL).]) 5396 5547 # Stuff for libtool 5397 ac_ext=c 5398 ac_cpp='$CPP $CPPFLAGS' 5399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5401 ac_compiler_gnu=$ac_cv_c_compiler_gnu 5402 5403 if test x"" = x; then 5404 hdr="#include <dlfcn.h>" 5405 else 5406 hdr="" 5407 fi 5408 5409 for ac_header in dlfcn.h 5410 do 5411 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5412 echo "$as_me:$LINENO: checking for $ac_header" >&5 5413 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 5414 if eval "test \"\${$as_ac_Header+set}\" = set"; then 5415 echo $ECHO_N "(cached) $ECHO_C" >&6 5416 else 5417 cat >conftest.$ac_ext <<_ACEOF 5418 /* confdefs.h. */ 5419 _ACEOF 5420 cat confdefs.h >>conftest.$ac_ext 5421 cat >>conftest.$ac_ext <<_ACEOF 5422 /* end confdefs.h. */ 5423 $hdr 5424 5425 #include <$ac_header> 5426 _ACEOF 5427 rm -f conftest.$ac_objext 5428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5429 (eval $ac_compile) 2>conftest.er1 5430 ac_status=$? 5431 grep -v '^ *+' conftest.er1 >conftest.err 5432 rm -f conftest.er1 5433 cat conftest.err >&5 5434 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5435 (exit $ac_status); } && 5436 { ac_try='test -z "$ac_c_werror_flag" 5437 || test ! -s conftest.err' 5438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5439 (eval $ac_try) 2>&5 5440 ac_status=$? 5441 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5442 (exit $ac_status); }; } && 5443 { ac_try='test -s conftest.$ac_objext' 5444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5445 (eval $ac_try) 2>&5 5446 ac_status=$? 5447 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5448 (exit $ac_status); }; }; then 5449 eval "$as_ac_Header=yes" 5450 else 5451 echo "$as_me: failed program was:" >&5 5452 sed 's/^/| /' conftest.$ac_ext >&5 5453 5454 eval "$as_ac_Header=no" 5455 fi 5456 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5457 fi 5458 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 5459 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5460 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5461 cat >>confdefs.h <<_ACEOF 5462 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5463 _ACEOF 5464 5465 fi 5466 5467 done 5468 5469 5470 ac_ext=c 5471 ac_cpp='$CPP $CPPFLAGS' 5472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5474 ac_compiler_gnu=$ac_cv_c_compiler_gnu 5475 5476 5477 # Check whether --enable-shared or --disable-shared was given. 5548 # Check whether --enable-shared or --disable-shared was given. 5478 5549 if test "${enable_shared+set}" = set; then 5479 5550 enableval="$enable_shared" … … 6023 6094 *-*-irix6*) 6024 6095 # Find out which ABI we are using. 6025 echo '#line 60 25"configure"' > conftest.$ac_ext6096 echo '#line 6096 "configure"' > conftest.$ac_ext 6026 6097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6027 6098 (eval $ac_compile) 2>&5 … … 8561 8632 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8562 8633 -e 's:$: $lt_compiler_flag:'` 8563 (eval echo "\"\$as_me:8 563: $lt_compile\"" >&5)8634 (eval echo "\"\$as_me:8634: $lt_compile\"" >&5) 8564 8635 (eval "$lt_compile" 2>conftest.err) 8565 8636 ac_status=$? 8566 8637 cat conftest.err >&5 8567 echo "$as_me:8 567: \$? = $ac_status" >&58638 echo "$as_me:8638: \$? = $ac_status" >&5 8568 8639 if (exit $ac_status) && test -s "$ac_outfile"; then 8569 8640 # The compiler can only warn and ignore the option if not recognized … … 8829 8900 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8830 8901 -e 's:$: $lt_compiler_flag:'` 8831 (eval echo "\"\$as_me:8 831: $lt_compile\"" >&5)8902 (eval echo "\"\$as_me:8902: $lt_compile\"" >&5) 8832 8903 (eval "$lt_compile" 2>conftest.err) 8833 8904 ac_status=$? 8834 8905 cat conftest.err >&5 8835 echo "$as_me:8 835: \$? = $ac_status" >&58906 echo "$as_me:8906: \$? = $ac_status" >&5 8836 8907 if (exit $ac_status) && test -s "$ac_outfile"; then 8837 8908 # The compiler can only warn and ignore the option if not recognized … … 8933 9004 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8934 9005 -e 's:$: $lt_compiler_flag:'` 8935 (eval echo "\"\$as_me: 8935: $lt_compile\"" >&5)9006 (eval echo "\"\$as_me:9006: $lt_compile\"" >&5) 8936 9007 (eval "$lt_compile" 2>out/conftest.err) 8937 9008 ac_status=$? 8938 9009 cat out/conftest.err >&5 8939 echo "$as_me: 8939: \$? = $ac_status" >&59010 echo "$as_me:9010: \$? = $ac_status" >&5 8940 9011 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8941 9012 then … … 11278 11349 lt_status=$lt_dlunknown 11279 11350 cat > conftest.$ac_ext <<EOF 11280 #line 11 280"configure"11351 #line 11351 "configure" 11281 11352 #include "confdefs.h" 11282 11353 … … 11378 11449 lt_status=$lt_dlunknown 11379 11450 cat > conftest.$ac_ext <<EOF 11380 #line 11 380"configure"11451 #line 11451 "configure" 11381 11452 #include "confdefs.h" 11382 11453 … … 13722 13793 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 13723 13794 -e 's:$: $lt_compiler_flag:'` 13724 (eval echo "\"\$as_me:137 24: $lt_compile\"" >&5)13795 (eval echo "\"\$as_me:13795: $lt_compile\"" >&5) 13725 13796 (eval "$lt_compile" 2>conftest.err) 13726 13797 ac_status=$? 13727 13798 cat conftest.err >&5 13728 echo "$as_me:137 28: \$? = $ac_status" >&513799 echo "$as_me:13799: \$? = $ac_status" >&5 13729 13800 if (exit $ac_status) && test -s "$ac_outfile"; then 13730 13801 # The compiler can only warn and ignore the option if not recognized … … 13826 13897 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 13827 13898 -e 's:$: $lt_compiler_flag:'` 13828 (eval echo "\"\$as_me:138 28: $lt_compile\"" >&5)13899 (eval echo "\"\$as_me:13899: $lt_compile\"" >&5) 13829 13900 (eval "$lt_compile" 2>out/conftest.err) 13830 13901 ac_status=$? 13831 13902 cat out/conftest.err >&5 13832 echo "$as_me:13 832: \$? = $ac_status" >&513903 echo "$as_me:13903: \$? = $ac_status" >&5 13833 13904 if (exit $ac_status) && test -s out/conftest2.$ac_objext 13834 13905 then … … 15396 15467 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 15397 15468 -e 's:$: $lt_compiler_flag:'` 15398 (eval echo "\"\$as_me:15 398: $lt_compile\"" >&5)15469 (eval echo "\"\$as_me:15469: $lt_compile\"" >&5) 15399 15470 (eval "$lt_compile" 2>conftest.err) 15400 15471 ac_status=$? 15401 15472 cat conftest.err >&5 15402 echo "$as_me:154 02: \$? = $ac_status" >&515473 echo "$as_me:15473: \$? = $ac_status" >&5 15403 15474 if (exit $ac_status) && test -s "$ac_outfile"; then 15404 15475 # The compiler can only warn and ignore the option if not recognized … … 15500 15571 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 15501 15572 -e 's:$: $lt_compiler_flag:'` 15502 (eval echo "\"\$as_me:155 02: $lt_compile\"" >&5)15573 (eval echo "\"\$as_me:15573: $lt_compile\"" >&5) 15503 15574 (eval "$lt_compile" 2>out/conftest.err) 15504 15575 ac_status=$? 15505 15576 cat out/conftest.err >&5 15506 echo "$as_me:155 06: \$? = $ac_status" >&515577 echo "$as_me:15577: \$? = $ac_status" >&5 15507 15578 if (exit $ac_status) && test -s out/conftest2.$ac_objext 15508 15579 then … … 17707 17778 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 17708 17779 -e 's:$: $lt_compiler_flag:'` 17709 (eval echo "\"\$as_me:177 09: $lt_compile\"" >&5)17780 (eval echo "\"\$as_me:17780: $lt_compile\"" >&5) 17710 17781 (eval "$lt_compile" 2>conftest.err) 17711 17782 ac_status=$? 17712 17783 cat conftest.err >&5 17713 echo "$as_me:177 13: \$? = $ac_status" >&517784 echo "$as_me:17784: \$? = $ac_status" >&5 17714 17785 if (exit $ac_status) && test -s "$ac_outfile"; then 17715 17786 # The compiler can only warn and ignore the option if not recognized … … 17975 18046 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 17976 18047 -e 's:$: $lt_compiler_flag:'` 17977 (eval echo "\"\$as_me:1 7977: $lt_compile\"" >&5)18048 (eval echo "\"\$as_me:18048: $lt_compile\"" >&5) 17978 18049 (eval "$lt_compile" 2>conftest.err) 17979 18050 ac_status=$? 17980 18051 cat conftest.err >&5 17981 echo "$as_me:1 7981: \$? = $ac_status" >&518052 echo "$as_me:18052: \$? = $ac_status" >&5 17982 18053 if (exit $ac_status) && test -s "$ac_outfile"; then 17983 18054 # The compiler can only warn and ignore the option if not recognized … … 18079 18150 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 18080 18151 -e 's:$: $lt_compiler_flag:'` 18081 (eval echo "\"\$as_me:18 081: $lt_compile\"" >&5)18152 (eval echo "\"\$as_me:18152: $lt_compile\"" >&5) 18082 18153 (eval "$lt_compile" 2>out/conftest.err) 18083 18154 ac_status=$? 18084 18155 cat out/conftest.err >&5 18085 echo "$as_me:18 085: \$? = $ac_status" >&518156 echo "$as_me:18156: \$? = $ac_status" >&5 18086 18157 if (exit $ac_status) && test -s out/conftest2.$ac_objext 18087 18158 then … … 20737 20808 20738 20809 20739 20740 20741 # We check for this header here in a non-standard way to avoid warning 20742 # messages 20743 20744 20745 20746 20747 20748 20749 20810 # No longer needed now that CPPFLAGS is correctly set -- lh, 061214 -- 20811 # AC_REQUIRE([AC_COIN_DLFCN_H]) 20812 20813 # NEW: If libtool exists in the directory higher up, we use that one 20814 # instead of creating a new one 20815 20816 # It turns out that the code for AC_PROG_LIBTOOL is somehow AC_REQUIRED 20817 # out in front of this macro body. You'll notice that LIBTOOL is already 20818 # defined here. We'll have to count on this macro not being called if libtool 20819 # already exists, or at least move the libtool fixes outside the conditional. 20820 # AC_MSG_NOTICE([Entering coin_prog_libtool, LIBTOOL = "$LIBTOOL".]) 20821 # This test is therefore removed. -- lh, 061214 -- 20822 # if test "x$LIBTOOL" = x; then 20823 20824 # AC_MSG_NOTICE([Calling PROG_LIBTOOL.]) 20825 20826 20827 20828 20829 20830 20831 20832 20833 20834 # AC_MSG_NOTICE([Finished PROG_LIBTOOL.]) 20750 20835 20751 20836 … … 20755 20840 # - paths generated for .lib files is not run through cygpath -w 20756 20841 20757 # Correct cygpath for minGW (ToDo!) 20758 case $build in 20759 *-mingw*) 20760 CYGPATH_W=echo 20761 ;; 20762 esac 20763 20764 case $build in 20765 *-cygwin* | *-mingw*) 20766 case "$CXX" in 20767 cl* | */cl* | CL* | */CL*) 20768 { echo "$as_me:$LINENO: Applying patches to libtool for cl compiler" >&5 20842 20843 # - lib includes subdirectory information; we want to replace 20844 # 20845 # old_archive_cmds="lib /OUT:\$oldlib\$oldobjs\$old_deplibs" 20846 # 20847 # by 20848 # 20849 # old_archive_cmds="echo \$oldlib | grep .libs >/dev/null; if test \$? = 0; then cd .libs; lib /OUT:\`echo \$oldlib\$oldobjs\$old_deplibs | sed -e s@\.libs/@@g\`; cd .. ; else lib /OUT:\$oldlib\$oldobjs\$old_deplibs ; fi" 20850 # 20851 # -e 's%old_archive_cmds="lib /OUT:\\\$oldlib\\\$oldobjs\\\$old_deplibs"%old_archive_cmds="echo \\\$oldlib \| grep .libs >/dev/null; if test \\\$? = 0; then cd .libs; lib /OUT:\\\`echo \\\$oldlib\\\$oldobjs\\\$old_deplibs \| sed -e s@\\.libs/@@g\\\`; cd .. ; else lib /OUT:\\\$oldlib\\\$oldobjs\\\$old_deplibs; fi"%' \ 20852 20853 # The following was a hack for chaniing @BACKSLASH to \ 20854 # -e 'sYcompile_command=`\$echo "X\$compile_command" | \$Xsed -e '"'"'s%@OUTPUT@%'"'"'"\$output"'"'"'%g'"'"'`Ycompile_command=`\$echo "X\$compile_command" | \$Xsed -e '"'"'s%@OUTPUT@%'"'"'"\$output"'"'"'%g'"'"' | \$Xsed -e '"'"'s%@BACKSLASH@%\\\\\\\\\\\\\\\\%g'"'"'`Y' \ 20855 20856 # Correct cygpath for minGW (ToDo!) 20857 { echo "$as_me:$LINENO: Build is \"$build\"." >&5 20858 echo "$as_me: Build is \"$build\"." >&6;} 20859 case $build in 20860 *-mingw*) 20861 CYGPATH_W=echo 20862 ;; 20863 esac 20864 20865 case $build in 20866 *-cygwin* | *-mingw*) 20867 case "$CXX" in 20868 cl* | */cl* | CL* | */CL*) 20869 { echo "$as_me:$LINENO: Applying patches to libtool for cl compiler" >&5 20769 20870 echo "$as_me: Applying patches to libtool for cl compiler" >&6;} 20770 sed -e 's|fix_srcfile_path=\"`cygpath -w \"\$srcfile\"`\"|fix_srcfile_path=\"\\\`'"$CYGPATH_W"' \\\"\\$srcfile\\\"\\\`\"|' \20771 -e 's|fix_srcfile_path=\"\"|fix_srcfile_path=\"\\\`'"$CYGPATH_W"' \\\"\\$srcfile\\\"\\\`\"|' \20772 -e 's%compile_deplibs=\"\$dir/\$old_library \$compile_deplibs\"%compile_deplibs="'\`"$CYGPATH_W"' \$dir/\$old_library | sed -e '"'"'sY\\\\\\\\Y/Yg'"'"\`' \$compile_deplibs\"'% \20773 -e 's%compile_deplibs=\"\$dir/\$linklib \$compile_deplibs\"%compile_deplibs="'\`"$CYGPATH_W"' \$dir/\$linklib | sed -e '"'"'sY\\\\\\\\Y/Yg'"'"\`' \$compile_deplibs\"'% \20774 20775 20776 20777 20778 20779 20780 libtool > conftest.bla20781 20782 mv conftest.bla libtool20783 chmod 755 libtool20784 ;;20785 *)20786 { echo "$as_me:$LINENO: Applying patches to libtool for GNU compiler" >&520871 sed -e 's|fix_srcfile_path=\"`cygpath -w \"\$srcfile\"`\"|fix_srcfile_path=\"\\\`'"$CYGPATH_W"' \\\"\\$srcfile\\\"\\\`\"|' \ 20872 -e 's|fix_srcfile_path=\"\"|fix_srcfile_path=\"\\\`'"$CYGPATH_W"' \\\"\\$srcfile\\\"\\\`\"|' \ 20873 -e 's%compile_deplibs=\"\$dir/\$old_library \$compile_deplibs\"%compile_deplibs="'\`"$CYGPATH_W"' \$dir/\$old_library | sed -e '"'"'sY\\\\\\\\Y/Yg'"'"\`' \$compile_deplibs\"'% \ 20874 -e 's%compile_deplibs=\"\$dir/\$linklib \$compile_deplibs\"%compile_deplibs="'\`"$CYGPATH_W"' \$dir/\$linklib | sed -e '"'"'sY\\\\\\\\Y/Yg'"'"\`' \$compile_deplibs\"'% \ 20875 -e 's%lib /OUT:%lib -OUT:%' \ 20876 -e "s%cygpath -w%$CYGPATH_W%" \ 20877 -e 's%$AR x \\$f_ex_an_ar_oldlib%bla=\\`lib -nologo -list \\$f_ex_an_ar_oldlib | xargs echo\\`; echo \\$bla; for i in \\$bla; do lib -nologo -extract:\\$i \\$f_ex_an_ar_oldlib; done%' \ 20878 -e 's/$AR t/lib -nologo -list/' \ 20879 -e 's%f_ex_an_ar_oldlib="\($?*1*\)"%f_ex_an_ar_oldlib='\`"$CYGPATH_W"' \1`%' \ 20880 -e 's%^archive_cmds=.*%archive_cmds="\\$CC -o \\$lib \\$libobjs \\$compiler_flags \\\\\\`echo \\\\\\"\\$deplibs\\\\\\" | \\$SED -e '"\'"'s/ -lc\\$//'"\'"'\\\\\\` -link -dll~linknames="%' \ 20881 libtool > conftest.bla 20882 20883 mv conftest.bla libtool 20884 chmod 755 libtool 20885 ;; 20886 *) 20887 { echo "$as_me:$LINENO: Applying patches to libtool for GNU compiler" >&5 20787 20888 echo "$as_me: Applying patches to libtool for GNU compiler" >&6;} 20788 sed -e 's|fix_srcfile_path=\"`cygpath -w \"\$srcfile\"`\"|fix_srcfile_path=\"\\\`'"$CYGPATH_W"' \\\"\\$srcfile\\\"\\\`\"|' \ 20789 -e 's|"lib /OUT:\\$oldlib\\$oldobjs\\$old_deplibs"|"\\$AR \\$AR_FLAGS \\$oldlib\\$oldobjs\\$old_deplibs~\\$RANLIB \\$oldlib"|' \ 20790 -e 's|libext="lib"|libext="a"|' \ 20791 libtool > conftest.bla 20792 20793 mv conftest.bla libtool 20794 chmod 755 libtool 20795 ;; 20889 sed -e 's|fix_srcfile_path=\"`cygpath -w \"\$srcfile\"`\"|fix_srcfile_path=\"\\\`'"$CYGPATH_W"' \\\"\\$srcfile\\\"\\\`\"|' \ 20890 -e 's|"lib /OUT:\\$oldlib\\$oldobjs\\$old_deplibs"|"\\$AR \\$AR_FLAGS \\$oldlib\\$oldobjs\\$old_deplibs~\\$RANLIB \\$oldlib"|' \ 20891 -e 's|libext="lib"|libext="a"|' \ 20892 libtool > conftest.bla 20893 20894 mv conftest.bla libtool 20895 chmod 755 libtool 20896 ;; 20897 esac 20796 20898 esac 20797 esac 20798 20799 20899 # This fi matches the commented `if test "x$LIBTOOL" = x;' up at the head of 20900 # the macro. -- lh, 061214 -- 20901 # fi 20902 20903 # AC_MSG_NOTICE([End libtool initialisation.]) 20904 20905 # AC_MSG_NOTICE([Finished COIN_PROG_LIBTOOL.]) 20800 20906 # set RPATH_FLAGS to the compiler link flags required to hardcode location 20801 20907 # of the shared objects … … 20856 20962 s,@am__fastdep* | s,@AR@* | s,@CPP@* | s,@CPPFLAGS@* | s,@CXXCPP@* | \ 20857 20963 s,@RANLIB@* | s,@STRIP@* | s,@ac_ct_AR@* | s,@ac_ct_RANLIB@* | \ 20858 s,@ac_ct_STRIP@* | s,@host* | s,@LN_S@* | s,@RPATH_FLAGS@* ) 20964 s,@ac_ct_STRIP@* | s,@host* | s,@LN_S@* | s,@RPATH_FLAGS@* | \ 20965 s,@ac_c_preproc_warn_flag@* | s,@ac_cxx_preproc_warn_flag@* ) 20859 20966 command=`echo $oneline | sed -e 's/^s,@//' -e 's/@,/="/' -e 's/,;t t/"/'` 20860 20967 # echo "$command" … … 20884 20991 fi 20885 20992 20993 # AC_MSG_NOTICE([End of INIT_AUTO_TOOLS.]) 20994 20886 20995 # ToDo 20887 20996 # For now, don't use the -no-undefined flag, since the Makefiles are … … 20898 21007 20899 21008 20900 FADDLIBS="$ADDLIBS" 20901 if test x"$coin_need_flibs" = xyes; then 20902 ADDLIBS="$ADDLIBS $FLIBS" 20903 fi 20904 20905 # library extension 20906 20907 case "$CC" in 20908 cl* | */cl* | CL* | */CL*) 20909 LIBEXT=lib ;; 20910 *) LIBEXT=a ;; 20911 esac 20912 20913 # Define VPATH_DISTCLEANFILES to be everything that needs to be 20914 # cleaned for distclean in a vpath configuration 20915 20916 VPATH_DISTCLEANFILES="$coin_vpath_link_files" 20917 20918 cat >confcache <<\_ACEOF 21009 if test x$coin_skip_ac_output != xyes; then 21010 21011 FADDLIBS="$ADDLIBS" 21012 if test x"$coin_need_flibs" = xyes; then 21013 ADDLIBS="$ADDLIBS $FLIBS" 21014 fi 21015 21016 # library extension 21017 21018 case "$CC" in 21019 cl* | */cl* | CL* | */CL*) 21020 LIBEXT=lib ;; 21021 *) LIBEXT=a ;; 21022 esac 21023 21024 # Define VPATH_DISTCLEANFILES to be everything that needs to be 21025 # cleaned for distclean in a vpath configuration 21026 21027 VPATH_DISTCLEANFILES="$coin_vpath_link_files" 21028 21029 # Take out subdirectories if their configuration concluded that they 21030 # don't need to be compiled 21031 if test x"$coin_ac_skip_subdirs" != x; then 21032 new_subdirs= 21033 for i in $subdirs; do 21034 skipme=no 21035 for j in $coin_ac_skip_subdirs; do 21036 if test $i = $j; then 21037 skipme=yes; 21038 fi 21039 done 21040 if test $skipme = no; then 21041 new_subdirs="$new_subdirs $i" 21042 fi 21043 done 21044 subdirs="$new_subdirs" 21045 fi 21046 21047 cat >confcache <<\_ACEOF 20919 21048 # This file is a shell script that caches the results of configure 20920 21049 # tests run on this system so they can be shared between configure … … 21726 21855 s,@CXXCPP@,$CXXCPP,;t t 21727 21856 s,@LIBTOOL@,$LIBTOOL,;t t 21857 s,@ac_c_preproc_warn_flag@,$ac_c_preproc_warn_flag,;t t 21858 s,@ac_cxx_preproc_warn_flag@,$ac_cxx_preproc_warn_flag,;t t 21728 21859 s,@RPATH_FLAGS@,$RPATH_FLAGS,;t t 21729 21860 s,@LT_LDFLAGS@,$LT_LDFLAGS,;t t … … 22203 22334 22204 22335 22205 if test x"$coin_vpath_link_files" = x; then : ; else22206 lnkcmd=22207 if test "$enable_doscompile" = yes; then22208 lnkcmd=cp22209 fi22210 case "$CC" in22211 cl* | */cl* | CL* | */CL*)22212 lnkcmd=cp ;;22213 esac22214 if test "$lnkcmd" = cp; then22215 { echo "$as_me:$LINENO: Copying data files for VPATH configuration" >&522336 if test x"$coin_vpath_link_files" = x; then : ; else 22337 lnkcmd= 22338 if test "$enable_doscompile" = yes; then 22339 lnkcmd=cp 22340 fi 22341 case "$CC" in 22342 cl* | */cl* | CL* | */CL*) 22343 lnkcmd=cp ;; 22344 esac 22345 if test "$lnkcmd" = cp; then 22346 { echo "$as_me:$LINENO: Copying data files for VPATH configuration" >&5 22216 22347 echo "$as_me: Copying data files for VPATH configuration" >&6;} 22217 else22218 echo "$as_me:$LINENO: checking whether ln -s works" >&522348 else 22349 echo "$as_me:$LINENO: checking whether ln -s works" >&5 22219 22350 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 22220 22351 LN_S=$as_ln_s … … 22227 22358 fi 22228 22359 22229 { echo "$as_me:$LINENO: Creating VPATH links for data files" >&522360 { echo "$as_me:$LINENO: Creating VPATH links for data files" >&5 22230 22361 echo "$as_me: Creating VPATH links for data files" >&6;} 22231 lnkcmd="$LN_S"22232 fi22233 for file in $coin_vpath_link_files; do22234 dir=`(dirname "./$file") 2>/dev/null ||22362 lnkcmd="$LN_S" 22363 fi 22364 for file in $coin_vpath_link_files; do 22365 dir=`(dirname "./$file") 2>/dev/null || 22235 22366 $as_expr X"./$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 22236 22367 X"./$file" : 'X\(//\)[^/]' \| \ … … 22244 22375 /^X\(\/\).*/{ s//\1/; q; } 22245 22376 s/.*/./; q'` 22246 if test -d $dir; then : ; else22247 { if $as_mkdir_p; then22377 if test -d $dir; then : ; else 22378 { if $as_mkdir_p; then 22248 22379 mkdir -p $dir 22249 22380 else … … 22270 22401 { (exit 1); exit 1; }; }; } 22271 22402 22272 fi22273 rm -f $file22274 $lnkcmd $abs_source_dir/$file $file22275 done22276 fi22277 22278 if test x$coin_projectdir = xyes; then22279 { echo "$as_me:$LINENO: Configuration of $PACKAGE_NAME successful" >&522403 fi 22404 rm -f $file 22405 $lnkcmd $abs_source_dir/$file $file 22406 done 22407 fi 22408 22409 if test x$coin_projectdir = xyes; then 22410 { echo "$as_me:$LINENO: Configuration of $PACKAGE_NAME successful" >&5 22280 22411 echo "$as_me: Configuration of $PACKAGE_NAME successful" >&6;} 22281 else22282 { echo "$as_me:$LINENO: Main configuration of $PACKAGE_NAME successful" >&522412 else 22413 { echo "$as_me:$LINENO: Main configuration of $PACKAGE_NAME successful" >&5 22283 22414 echo "$as_me: Main configuration of $PACKAGE_NAME successful" >&6;} 22284 fi 22415 fi 22416 else 22417 { echo "$as_me:$LINENO: No configuration of $PACKAGE_NAME necessary" >&5 22418 echo "$as_me: No configuration of $PACKAGE_NAME necessary" >&6;} 22419 fi 22420 22285 22421 22286 22422
Note: See TracChangeset
for help on using the changeset viewer.