/[guile]/guile/guile-core/configure.in
ViewVC logotype

Diff of /guile/guile-core/configure.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.188 by mvo, Wed May 22 13:49:42 2002 UTC revision 1.189 by mvo, Sun Jul 7 19:38:23 2002 UTC
# Line 163  AC_ISC_POSIX Line 163  AC_ISC_POSIX
163  AC_MINIX  AC_MINIX
164    
165  AM_PROG_CC_STDC  AM_PROG_CC_STDC
166    
167    ## Needed for building DLLs on Cygwin, before AM_PROG_LIBTOOL
168    AC_LIBTOOL_WIN32_DLL
169  AM_PROG_LIBTOOL  AM_PROG_LIBTOOL
170    
171  AC_CHECK_PROG(have_makeinfo, makeinfo, yes, no)  AC_CHECK_PROG(have_makeinfo, makeinfo, yes, no)
# Line 671  if test "${THREAD_PACKAGE}" != "" ; then Line 674  if test "${THREAD_PACKAGE}" != "" ; then
674    fi    fi
675  fi  fi
676    
677    ## Cross building      
678    if test "$cross_compiling" = "yes"; then
679      AC_MSG_CHECKING(cc for build)
680      ## /usr/bin/cc still uses wrong assembler
681      ## CC_FOR_BUILD="${CC_FOR_BUILD-/usr/bincc}"
682      CC_FOR_BUILD="${CC_FOR_BUILD-PATH=/usr/bin:$PATH cc}"
683    else
684      CC_FOR_BUILD="${CC_FOR_BUILD-$CC}"
685    fi  
686    AC_ARG_WITH(cc-for-build,
687      [  --with-cc-for-build=CC  native C compiler, to be used during build])
688    test -n "$with_cc_for_build" && CC_FOR_BUILD="$with_cc_for_build"
689        
690    ## AC_MSG_CHECKING("if we are cross compiling")
691    ## AC_MSG_RESULT($cross_compiling)
692    if test "$cross_compiling" = "yes"; then
693       AC_MSG_RESULT($CC_FOR_BUILD)
694    fi
695    
696    ## No need as yet to be more elaborate
697    CCLD_FOR_BUILD="$CC_FOR_BUILD"
698    
699    AC_SUBST(cross_compiling)
700    AC_SUBST(CC_FOR_BUILD)
701    AC_SUBST(CCLD_FOR_BUILD)
702            
703    ## libtool erroneously calls CC_FOR_BUILD HOST_CC;
704    ## --HOST is the platform that PACKAGE is compiled for.
705    HOST_CC="$CC_FOR_BUILD"
706    AC_SUBST(HOST_CC)
707    
708    if test "$cross_compiling" = "yes"; then
709      AC_MSG_CHECKING(guile for build)
710      GUILE_FOR_BUILD="${GUILE_FOR_BUILD-guile}"
711    else
712      GUILE_FOR_BUILD='$(preinstguile)'
713    fi  
714    AC_ARG_WITH(guile-for-build,
715      [  --with-guile-for-build=guile  native guile executable, to be used during build])
716    test -n "$with_guile_for_build" && GUILE_FOR_BUILD="$with_guile_for_build"
717    
718    ## AC_MSG_CHECKING("if we are cross compiling")
719    ## AC_MSG_RESULT($cross_compiling)
720    if test "$cross_compiling" = "yes"; then
721       AC_MSG_RESULT($GUILE_FOR_BUILD)
722    fi
723    AC_SUBST(GUILE_FOR_BUILD)
724                            
725  ## If we're using GCC, ask for aggressive warnings.  ## If we're using GCC, ask for aggressive warnings.
726  case "$GCC" in  case "$GCC" in
727    yes )    yes )

Legend:
Removed from v.1.188  
changed lines
  Added in v.1.189

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26