/[hurd]/hurd-l4/configure.ac
ViewVC logotype

Diff of /hurd-l4/configure.ac

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

revision 1.26 by marcus, Sat Jan 22 17:41:35 2005 UTC revision 1.27 by marcus, Sun Jan 23 21:30:41 2005 UTC
# Line 72  AC_CANONICAL_HOST Line 72  AC_CANONICAL_HOST
72    
73  AC_MSG_CHECKING([for static GNU C library])  AC_MSG_CHECKING([for static GNU C library])
74  static_libc=libc.a  static_libc=libc.a
 echo $host_os  
75  case $host_os in  case $host_os in
76    gnu*)    gnu*)
     echo HALLO  
77      # On the GNU/Hurd, libc.a is a linker script, the real C library      # On the GNU/Hurd, libc.a is a linker script, the real C library
78      # can be found in libcrt.a instead.      # can be found in libcrt.a instead.  But fall back on libc.a for
79      static_libc=libcrt.a      # cheap cross-compilation.
80        libcrta=`$CC -print-file-name=libcrt.a`
81        if test "x$libcrta" != "xlibcrt.a"; then
82          static_libc=libcrt.a
83        fi
84      ;;      ;;
85  esac  esac
86  STATIC_GLIBC=`$CC -print-file-name=$static_libc`  STATIC_GLIBC=`$CC -print-file-name=$static_libc`
# Line 153  m4_include([libhurd-mm/headers.m4]) Line 155  m4_include([libhurd-mm/headers.m4])
155  m4_include([libpthread/headers.m4])  m4_include([libpthread/headers.m4])
156  m4_include([wortel/headers.m4])  m4_include([wortel/headers.m4])
157    
158    # Check for libc and components using it.
159    
160    AC_ARG_WITH([libc],
161    [  --with-libc             compile with the GNU C library (see libc/README)])
162    AM_CONDITIONAL(WITH_LIBC, test x"${with_libc-no}" != xno)
163    
164    
165  if test "x$missing_progs" != "x"; then  if test "x$missing_progs" != "x"; then
166    AC_MSG_ERROR([The following programs were not found:$missing_progs])    AC_MSG_ERROR([The following programs were not found:$missing_progs])
167  fi  fi
# Line 178  AC_CONFIG_FILES([Makefile Line 187  AC_CONFIG_FILES([Makefile
187                   physmem/Makefile                   physmem/Makefile
188                   task/Makefile                   task/Makefile
189                   deva/Makefile                   deva/Makefile
190                     libc/Makefile
191                   ruth/Makefile                   ruth/Makefile
192                   doc/Makefile])                   doc/Makefile])
193  AC_OUTPUT  AC_OUTPUT

Legend:
Removed from v.1.26  
changed lines
  Added in v.1.27

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