OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.17.0/] [newlib/] [doc/] [configure.in] - Blame information for rev 421

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 148 jeremybenn
dnl This is the newlib/doc configure.in file.
2
dnl Process this file with autoconf to produce a configure script.
3
 
4
AC_PREREQ(2.59)
5
AC_INIT([newlib],[NEWLIB_VERSION])
6
AC_CONFIG_SRCDIR([makedoc.c])
7
 
8
dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake.
9
AC_CONFIG_AUX_DIR(../..)
10
 
11
NEWLIB_CONFIGURE(..)
12
 
13
# Put a plausible default for CC_FOR_BUILD in Makefile.
14
if test -z "$CC_FOR_BUILD"; then
15
  if test "x$cross_compiling" = "xno"; then
16
    CC_FOR_BUILD='$(CC)'
17
  else
18
    CC_FOR_BUILD=gcc
19
  fi
20
fi
21
AC_SUBST(CC_FOR_BUILD)
22
 
23
# Also set EXEEXT_FOR_BUILD.
24
if test "x$cross_compiling" = "xno"; then
25
  EXEEXT_FOR_BUILD='$(EXEEXT)'
26
else
27
  AC_CACHE_CHECK([for build system executable suffix], newlib_cv_build_exeext,
28
    [cat > ac_c_test.c << 'EOF'
29
int main() {
30
/* Nothing needed here */
31
}
32
EOF
33
    ${CC_FOR_BUILD} -o ac_c_test am_c_test.c 1>&5 2>&5
34
    newlib_cv_build_exeext=`echo ac_c_test.* | grep -v ac_c_test.c | sed -e s/ac_c_test//`
35
    rm -f ac_c_test*
36
    test x"${newlib_cv_build_exeext}" = x && newlib_cv_build_exeext=no])
37
  EXEEXT_FOR_BUILD=""
38
  test x"${newlib_cv_build_exeext}" != xno && EXEEXT_FOR_BUILD=${newlib_cv_build_exeext}
39
fi
40
AC_SUBST(EXEEXT_FOR_BUILD)
41
 
42
AC_CONFIG_FILES([Makefile])
43
AC_OUTPUT

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.