Changeset 4075af6f in rtems for tools


Ignore:
Timestamp:
Oct 5, 1999, 1:49:54 PM (21 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
133dcd92
Parents:
d83c39dc
Message:

Regenerated.

Location:
tools
Files:
14 edited

Legend:

Unmodified
Added
Removed
  • tools/build/aclocal.m4

    rd83c39dc r4075af6f  
    2020AC_DEFUN(RTEMS_TOP,
    2121[dnl
     22AC_BEFORE([$0], [AC_CONFIG_AUX_DIR])dnl
     23AC_BEFORE([$0], [AM_INIT_AUTOMAKE])dnl
     24
    2225AC_ARG_WITH(target-subdir,
    2326[  --with-target-subdir=DIR],
  • tools/build/configure

    rd83c39dc r4075af6f  
    527527
    528528
     529
     530# Check whether --with-target-subdir or --without-target-subdir was given.
     531if test "${with_target_subdir+set}" = set; then
     532  withval="$with_target_subdir"
     533  TARGET_SUBDIR="$withval"
     534else
     535  TARGET_SUBDIR="."
     536fi
     537
     538
     539RTEMS_TOPdir="../..";
     540
     541
     542echo $ac_n "checking for RTEMS Version""... $ac_c" 1>&6
     543echo "configure:544: checking for RTEMS Version" >&5
     544if test -r "${srcdir}/${RTEMS_TOPdir}/VERSION"; then
     545RTEMS_VERSION=`grep Version ${srcdir}/${RTEMS_TOPdir}/VERSION | \
     546sed -e 's%RTEMS[        ]*Version[      ]*\(.*\)[       ]*%\1%g'`
     547else
     548{ echo "configure: error: Unable to find ${RTEMS_TOPdir}/VERSION" 1>&2; exit 1; }
     549fi
     550if test -z "$RTEMS_VERSION"; then
     551{ echo "configure: error: Unable to determine version" 1>&2; exit 1; }
     552fi
     553echo "$ac_t""$RTEMS_VERSION" 1>&6
     554
    529555ac_aux_dir=
    530556for ac_dir in ../.. $srcdir/../..; do
     
    546572ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
    547573
    548 # Check whether --with-target-subdir or --without-target-subdir was given.
    549 if test "${with_target_subdir+set}" = set; then
    550   withval="$with_target_subdir"
    551   TARGET_SUBDIR="$withval"
    552 else
    553   TARGET_SUBDIR="."
    554 fi
    555 
    556 
    557 RTEMS_TOPdir="../..";
    558 
    559 
    560 echo $ac_n "checking for RTEMS Version""... $ac_c" 1>&6
    561 echo "configure:562: checking for RTEMS Version" >&5
    562 if test -r "${srcdir}/${RTEMS_TOPdir}/VERSION"; then
    563 RTEMS_VERSION=`grep Version ${srcdir}/${RTEMS_TOPdir}/VERSION | \
    564 sed -e 's%RTEMS[        ]*Version[      ]*\(.*\)[       ]*%\1%g'`
    565 else
    566 { echo "configure: error: Unable to find ${RTEMS_TOPdir}/VERSION" 1>&2; exit 1; }
    567 fi
    568 if test -z "$RTEMS_VERSION"; then
    569 { echo "configure: error: Unable to determine version" 1>&2; exit 1; }
    570 fi
    571 echo "$ac_t""$RTEMS_VERSION" 1>&6
    572 
    573574
    574575
     
    579580
    580581echo $ac_n "checking host system type""... $ac_c" 1>&6
    581 echo "configure:582: checking host system type" >&5
     582echo "configure:583: checking host system type" >&5
    582583
    583584host_alias=$host
     
    612613# ./install, which can be erroneously created by make from ./install.sh.
    613614echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
    614 echo "configure:615: checking for a BSD compatible install" >&5
     615echo "configure:616: checking for a BSD compatible install" >&5
    615616if test -z "$INSTALL"; then
    616617if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
     
    665666
    666667echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
    667 echo "configure:668: checking whether build environment is sane" >&5
     668echo "configure:669: checking whether build environment is sane" >&5
    668669# Just in case
    669670sleep 1
     
    722723
    723724echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
    724 echo "configure:725: checking whether ${MAKE-make} sets \${MAKE}" >&5
     725echo "configure:726: checking whether ${MAKE-make} sets \${MAKE}" >&5
    725726set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
    726727if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
     
    762763missing_dir=`cd $ac_aux_dir && pwd`
    763764echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
    764 echo "configure:765: checking for working aclocal" >&5
     765echo "configure:766: checking for working aclocal" >&5
    765766# Run test in a subshell; some versions of sh will print an error if
    766767# an executable is not found, even if stderr is redirected.
     
    775776
    776777echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
    777 echo "configure:778: checking for working autoconf" >&5
     778echo "configure:779: checking for working autoconf" >&5
    778779# Run test in a subshell; some versions of sh will print an error if
    779780# an executable is not found, even if stderr is redirected.
     
    788789
    789790echo $ac_n "checking for working automake""... $ac_c" 1>&6
    790 echo "configure:791: checking for working automake" >&5
     791echo "configure:792: checking for working automake" >&5
    791792# Run test in a subshell; some versions of sh will print an error if
    792793# an executable is not found, even if stderr is redirected.
     
    801802
    802803echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
    803 echo "configure:804: checking for working autoheader" >&5
     804echo "configure:805: checking for working autoheader" >&5
    804805# Run test in a subshell; some versions of sh will print an error if
    805806# an executable is not found, even if stderr is redirected.
     
    814815
    815816echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
    816 echo "configure:817: checking for working makeinfo" >&5
     817echo "configure:818: checking for working makeinfo" >&5
    817818# Run test in a subshell; some versions of sh will print an error if
    818819# an executable is not found, even if stderr is redirected.
     
    828829
    829830echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
    830 echo "configure:831: checking whether to enable maintainer-specific portions of Makefiles" >&5
     831echo "configure:832: checking whether to enable maintainer-specific portions of Makefiles" >&5
    831832    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
    832833if test "${enable_maintainer_mode+set}" = set; then
     
    851852
    852853echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
    853 echo "configure:854: checking for Cygwin environment" >&5
     854echo "configure:855: checking for Cygwin environment" >&5
    854855if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
    855856  echo $ac_n "(cached) $ac_c" 1>&6
    856857else
    857858  cat > conftest.$ac_ext <<EOF
    858 #line 859 "configure"
     859#line 860 "configure"
    859860#include "confdefs.h"
    860861
     
    867868; return 0; }
    868869EOF
    869 if { (eval echo configure:870: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     870if { (eval echo configure:871: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    870871  rm -rf conftest*
    871872  ac_cv_cygwin=yes
     
    884885test "$ac_cv_cygwin" = yes && CYGWIN=yes
    885886echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
    886 echo "configure:887: checking for mingw32 environment" >&5
     887echo "configure:888: checking for mingw32 environment" >&5
    887888if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
    888889  echo $ac_n "(cached) $ac_c" 1>&6
    889890else
    890891  cat > conftest.$ac_ext <<EOF
    891 #line 892 "configure"
     892#line 893 "configure"
    892893#include "confdefs.h"
    893894
     
    896897; return 0; }
    897898EOF
    898 if { (eval echo configure:899: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     899if { (eval echo configure:900: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    899900  rm -rf conftest*
    900901  ac_cv_mingw32=yes
     
    915916
    916917echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
    917 echo "configure:918: checking for executable suffix" >&5
     918echo "configure:919: checking for executable suffix" >&5
    918919if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
    919920  echo $ac_n "(cached) $ac_c" 1>&6
     
    925926  echo 'int main () { return 0; }' > conftest.$ac_ext
    926927  ac_cv_exeext=
    927   if { (eval echo configure:928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     928  if { (eval echo configure:929: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
    928929    for file in conftest.*; do
    929930      case $file in
     
    949950set dummy gcc; ac_word=$2
    950951echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    951 echo "configure:952: checking for $ac_word" >&5
     952echo "configure:953: checking for $ac_word" >&5
    952953if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    953954  echo $ac_n "(cached) $ac_c" 1>&6
     
    979980set dummy cc; ac_word=$2
    980981echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    981 echo "configure:982: checking for $ac_word" >&5
     982echo "configure:983: checking for $ac_word" >&5
    982983if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    983984  echo $ac_n "(cached) $ac_c" 1>&6
     
    10301031set dummy cl; ac_word=$2
    10311032echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1032 echo "configure:1033: checking for $ac_word" >&5
     1033echo "configure:1034: checking for $ac_word" >&5
    10331034if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    10341035  echo $ac_n "(cached) $ac_c" 1>&6
     
    10621063
    10631064echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
    1064 echo "configure:1065: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
     1065echo "configure:1066: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
    10651066
    10661067ac_ext=c
     
    10731074cat > conftest.$ac_ext << EOF
    10741075
    1075 #line 1076 "configure"
     1076#line 1077 "configure"
    10761077#include "confdefs.h"
    10771078
    10781079main(){return(0);}
    10791080EOF
    1080 if { (eval echo configure:1081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1081if { (eval echo configure:1082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    10811082  ac_cv_prog_cc_works=yes
    10821083  # If we can't run a trivial program, we are probably using a cross compiler.
     
    11041105fi
    11051106echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
    1106 echo "configure:1107: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
     1107echo "configure:1108: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
    11071108echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
    11081109cross_compiling=$ac_cv_prog_cc_cross
    11091110
    11101111echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
    1111 echo "configure:1112: checking whether we are using GNU C" >&5
     1112echo "configure:1113: checking whether we are using GNU C" >&5
    11121113if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
    11131114  echo $ac_n "(cached) $ac_c" 1>&6
     
    11181119#endif
    11191120EOF
    1120 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1121: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     1121if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1122: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    11211122  ac_cv_prog_gcc=yes
    11221123else
     
    11371138CFLAGS=
    11381139echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
    1139 echo "configure:1140: checking whether ${CC-cc} accepts -g" >&5
     1140echo "configure:1141: checking whether ${CC-cc} accepts -g" >&5
    11401141if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
    11411142  echo $ac_n "(cached) $ac_c" 1>&6
     
    11711172do
    11721173echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    1173 echo "configure:1174: checking for $ac_func" >&5
     1174echo "configure:1175: checking for $ac_func" >&5
    11741175if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    11751176  echo $ac_n "(cached) $ac_c" 1>&6
    11761177else
    11771178  cat > conftest.$ac_ext <<EOF
    1178 #line 1179 "configure"
     1179#line 1180 "configure"
    11791180#include "confdefs.h"
    11801181/* System header to define __stub macros and hopefully few prototypes,
     
    11991200; return 0; }
    12001201EOF
    1201 if { (eval echo configure:1202: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1202if { (eval echo configure:1203: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    12021203  rm -rf conftest*
    12031204  eval "ac_cv_func_$ac_func=yes"
     
    12301231set dummy $ac_prog; ac_word=$2
    12311232echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1232 echo "configure:1233: checking for $ac_word" >&5
     1233echo "configure:1234: checking for $ac_word" >&5
    12331234if eval "test \"`echo '$''{'ac_cv_path_KSH'+set}'`\" = set"; then
    12341235  echo $ac_n "(cached) $ac_c" 1>&6
  • tools/cpu/aclocal.m4

    rd83c39dc r4075af6f  
    2020AC_DEFUN(RTEMS_TOP,
    2121[dnl
     22AC_BEFORE([$0], [AC_CONFIG_AUX_DIR])dnl
     23AC_BEFORE([$0], [AM_INIT_AUTOMAKE])dnl
     24
    2225AC_ARG_WITH(target-subdir,
    2326[  --with-target-subdir=DIR],
     
    4447AC_MSG_RESULT($RTEMS_VERSION)
    4548])dnl
    46 
    47 dnl
    48 dnl $Id$
    49 dnl
    50 
    51 dnl canonicalize target cpu
    52 dnl NOTE: Most rtems targets do not fullfil autoconf's
    53 dnl target naming conventions "processor-vendor-os"
    54 dnl Therefore autoconf's AC_CANONICAL_TARGET will fail for them
    55 dnl and we have to fix it for rtems ourselves
    56 
    57 AC_DEFUN(RTEMS_CANONICAL_TARGET_CPU,
    58 [
    59 AC_CANONICAL_SYSTEM
    60 AC_MSG_CHECKING(rtems target cpu)
    61 changequote(,)dnl
    62 case "${target}" in
    63   # hpux unix port should go here
    64   i[3456]86-go32-rtems*)
    65         RTEMS_CPU=i386
    66         ;;
    67   i[3456]86-pc-linux*)          # unix "simulator" port
    68         RTEMS_CPU=unix
    69         ;;
    70   i[3456]86-*freebsd2*)         # unix "simulator" port
    71         RTEMS_CPU=unix
    72         ;;
    73   no_cpu-*rtems*)
    74         RTEMS_CPU=no_cpu
    75         ;;
    76   sparc-sun-solaris*)           # unix "simulator" port
    77         RTEMS_CPU=unix
    78         ;;
    79   *)
    80         RTEMS_CPU=`echo $target | sed 's%^\([^-]*\)-\(.*\)$%\1%'`
    81         ;;
    82 esac
    83 changequote([,])dnl
    84 AC_SUBST(RTEMS_CPU)
    85 AC_MSG_RESULT($RTEMS_CPU)
    86 ])
    8749
    8850# Do all the work for Automake.  This macro actually does too much --
     
    180142AC_SUBST($1)])
    181143
     144dnl
     145dnl $Id$
     146dnl
     147
     148dnl canonicalize target cpu
     149dnl NOTE: Most rtems targets do not fullfil autoconf's
     150dnl target naming conventions "processor-vendor-os"
     151dnl Therefore autoconf's AC_CANONICAL_TARGET will fail for them
     152dnl and we have to fix it for rtems ourselves
     153
     154AC_DEFUN(RTEMS_CANONICAL_TARGET_CPU,
     155[
     156AC_CANONICAL_SYSTEM
     157AC_MSG_CHECKING(rtems target cpu)
     158changequote(,)dnl
     159case "${target}" in
     160  # hpux unix port should go here
     161  i[3456]86-go32-rtems*)
     162        RTEMS_CPU=i386
     163        ;;
     164  i[3456]86-pc-linux*)          # unix "simulator" port
     165        RTEMS_CPU=unix
     166        ;;
     167  i[3456]86-*freebsd2*)         # unix "simulator" port
     168        RTEMS_CPU=unix
     169        ;;
     170  no_cpu-*rtems*)
     171        RTEMS_CPU=no_cpu
     172        ;;
     173  sparc-sun-solaris*)           # unix "simulator" port
     174        RTEMS_CPU=unix
     175        ;;
     176  *)
     177        RTEMS_CPU=`echo $target | sed 's%^\([^-]*\)-\(.*\)$%\1%'`
     178        ;;
     179esac
     180changequote([,])dnl
     181AC_SUBST(RTEMS_CPU)
     182AC_MSG_RESULT($RTEMS_CPU)
     183])
     184
    182185# Add --enable-maintainer-mode option to configure.
    183186# From Jim Meyering
  • tools/cpu/configure

    rd83c39dc r4075af6f  
    527527
    528528
     529
     530# Check whether --with-target-subdir or --without-target-subdir was given.
     531if test "${with_target_subdir+set}" = set; then
     532  withval="$with_target_subdir"
     533  TARGET_SUBDIR="$withval"
     534else
     535  TARGET_SUBDIR="."
     536fi
     537
     538
     539RTEMS_TOPdir="../..";
     540
     541
     542echo $ac_n "checking for RTEMS Version""... $ac_c" 1>&6
     543echo "configure:544: checking for RTEMS Version" >&5
     544if test -r "${srcdir}/${RTEMS_TOPdir}/VERSION"; then
     545RTEMS_VERSION=`grep Version ${srcdir}/${RTEMS_TOPdir}/VERSION | \
     546sed -e 's%RTEMS[        ]*Version[      ]*\(.*\)[       ]*%\1%g'`
     547else
     548{ echo "configure: error: Unable to find ${RTEMS_TOPdir}/VERSION" 1>&2; exit 1; }
     549fi
     550if test -z "$RTEMS_VERSION"; then
     551{ echo "configure: error: Unable to determine version" 1>&2; exit 1; }
     552fi
     553echo "$ac_t""$RTEMS_VERSION" 1>&6
     554
    529555ac_aux_dir=
    530556for ac_dir in ../.. $srcdir/../..; do
     
    547573
    548574
    549 # Check whether --with-target-subdir or --without-target-subdir was given.
    550 if test "${with_target_subdir+set}" = set; then
    551   withval="$with_target_subdir"
    552   TARGET_SUBDIR="$withval"
    553 else
    554   TARGET_SUBDIR="."
    555 fi
    556 
    557 
    558 RTEMS_TOPdir="../..";
    559 
    560 
    561 echo $ac_n "checking for RTEMS Version""... $ac_c" 1>&6
    562 echo "configure:563: checking for RTEMS Version" >&5
    563 if test -r "${srcdir}/${RTEMS_TOPdir}/VERSION"; then
    564 RTEMS_VERSION=`grep Version ${srcdir}/${RTEMS_TOPdir}/VERSION | \
    565 sed -e 's%RTEMS[        ]*Version[      ]*\(.*\)[       ]*%\1%g'`
    566 else
    567 { echo "configure: error: Unable to find ${RTEMS_TOPdir}/VERSION" 1>&2; exit 1; }
    568 fi
    569 if test -z "$RTEMS_VERSION"; then
    570 { echo "configure: error: Unable to determine version" 1>&2; exit 1; }
    571 fi
    572 echo "$ac_t""$RTEMS_VERSION" 1>&6
    573 
    574575
    575576
     
    601602
    602603echo $ac_n "checking host system type""... $ac_c" 1>&6
    603 echo "configure:604: checking host system type" >&5
     604echo "configure:605: checking host system type" >&5
    604605
    605606host_alias=$host
     
    622623
    623624echo $ac_n "checking target system type""... $ac_c" 1>&6
    624 echo "configure:625: checking target system type" >&5
     625echo "configure:626: checking target system type" >&5
    625626
    626627target_alias=$target
     
    640641
    641642echo $ac_n "checking build system type""... $ac_c" 1>&6
    642 echo "configure:643: checking build system type" >&5
     643echo "configure:644: checking build system type" >&5
    643644
    644645build_alias=$build
     
    663664
    664665echo $ac_n "checking rtems target cpu""... $ac_c" 1>&6
    665 echo "configure:666: checking rtems target cpu" >&5
     666echo "configure:667: checking rtems target cpu" >&5
    666667case "${target}" in
    667668  # hpux unix port should go here
     
    701702# ./install, which can be erroneously created by make from ./install.sh.
    702703echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
    703 echo "configure:704: checking for a BSD compatible install" >&5
     704echo "configure:705: checking for a BSD compatible install" >&5
    704705if test -z "$INSTALL"; then
    705706if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
     
    754755
    755756echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
    756 echo "configure:757: checking whether build environment is sane" >&5
     757echo "configure:758: checking whether build environment is sane" >&5
    757758# Just in case
    758759sleep 1
     
    811812
    812813echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
    813 echo "configure:814: checking whether ${MAKE-make} sets \${MAKE}" >&5
     814echo "configure:815: checking whether ${MAKE-make} sets \${MAKE}" >&5
    814815set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
    815816if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
     
    851852missing_dir=`cd $ac_aux_dir && pwd`
    852853echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
    853 echo "configure:854: checking for working aclocal" >&5
     854echo "configure:855: checking for working aclocal" >&5
    854855# Run test in a subshell; some versions of sh will print an error if
    855856# an executable is not found, even if stderr is redirected.
     
    864865
    865866echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
    866 echo "configure:867: checking for working autoconf" >&5
     867echo "configure:868: checking for working autoconf" >&5
    867868# Run test in a subshell; some versions of sh will print an error if
    868869# an executable is not found, even if stderr is redirected.
     
    877878
    878879echo $ac_n "checking for working automake""... $ac_c" 1>&6
    879 echo "configure:880: checking for working automake" >&5
     880echo "configure:881: checking for working automake" >&5
    880881# Run test in a subshell; some versions of sh will print an error if
    881882# an executable is not found, even if stderr is redirected.
     
    890891
    891892echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
    892 echo "configure:893: checking for working autoheader" >&5
     893echo "configure:894: checking for working autoheader" >&5
    893894# Run test in a subshell; some versions of sh will print an error if
    894895# an executable is not found, even if stderr is redirected.
     
    903904
    904905echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
    905 echo "configure:906: checking for working makeinfo" >&5
     906echo "configure:907: checking for working makeinfo" >&5
    906907# Run test in a subshell; some versions of sh will print an error if
    907908# an executable is not found, even if stderr is redirected.
     
    917918
    918919echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
    919 echo "configure:920: checking whether to enable maintainer-specific portions of Makefiles" >&5
     920echo "configure:921: checking whether to enable maintainer-specific portions of Makefiles" >&5
    920921    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
    921922if test "${enable_maintainer_mode+set}" = set; then
     
    946947set dummy $ac_prog; ac_word=$2
    947948echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    948 echo "configure:949: checking for $ac_word" >&5
     949echo "configure:950: checking for $ac_word" >&5
    949950if eval "test \"`echo '$''{'ac_cv_path_KSH'+set}'`\" = set"; then
    950951  echo $ac_n "(cached) $ac_c" 1>&6
  • tools/cpu/generic/aclocal.m4

    rd83c39dc r4075af6f  
    2020AC_DEFUN(RTEMS_TOP,
    2121[dnl
     22AC_BEFORE([$0], [AC_CONFIG_AUX_DIR])dnl
     23AC_BEFORE([$0], [AM_INIT_AUTOMAKE])dnl
     24
    2225AC_ARG_WITH(target-subdir,
    2326[  --with-target-subdir=DIR],
     
    4447AC_MSG_RESULT($RTEMS_VERSION)
    4548])dnl
    46 
    47 dnl
    48 dnl $Id$
    49 dnl
    50 
    51 dnl canonicalize target cpu
    52 dnl NOTE: Most rtems targets do not fullfil autoconf's
    53 dnl target naming conventions "processor-vendor-os"
    54 dnl Therefore autoconf's AC_CANONICAL_TARGET will fail for them
    55 dnl and we have to fix it for rtems ourselves
    56 
    57 AC_DEFUN(RTEMS_CANONICAL_TARGET_CPU,
    58 [
    59 AC_CANONICAL_SYSTEM
    60 AC_MSG_CHECKING(rtems target cpu)
    61 changequote(,)dnl
    62 case "${target}" in
    63   # hpux unix port should go here
    64   i[3456]86-go32-rtems*)
    65         RTEMS_CPU=i386
    66         ;;
    67   i[3456]86-pc-linux*)          # unix "simulator" port
    68         RTEMS_CPU=unix
    69         ;;
    70   i[3456]86-*freebsd2*)         # unix "simulator" port
    71         RTEMS_CPU=unix
    72         ;;
    73   no_cpu-*rtems*)
    74         RTEMS_CPU=no_cpu
    75         ;;
    76   sparc-sun-solaris*)           # unix "simulator" port
    77         RTEMS_CPU=unix
    78         ;;
    79   *)
    80         RTEMS_CPU=`echo $target | sed 's%^\([^-]*\)-\(.*\)$%\1%'`
    81         ;;
    82 esac
    83 changequote([,])dnl
    84 AC_SUBST(RTEMS_CPU)
    85 AC_MSG_RESULT($RTEMS_CPU)
    86 ])
    8749
    8850# Do all the work for Automake.  This macro actually does too much --
     
    180142AC_SUBST($1)])
    181143
     144dnl
     145dnl $Id$
     146dnl
     147
     148dnl canonicalize target cpu
     149dnl NOTE: Most rtems targets do not fullfil autoconf's
     150dnl target naming conventions "processor-vendor-os"
     151dnl Therefore autoconf's AC_CANONICAL_TARGET will fail for them
     152dnl and we have to fix it for rtems ourselves
     153
     154AC_DEFUN(RTEMS_CANONICAL_TARGET_CPU,
     155[
     156AC_CANONICAL_SYSTEM
     157AC_MSG_CHECKING(rtems target cpu)
     158changequote(,)dnl
     159case "${target}" in
     160  # hpux unix port should go here
     161  i[3456]86-go32-rtems*)
     162        RTEMS_CPU=i386
     163        ;;
     164  i[3456]86-pc-linux*)          # unix "simulator" port
     165        RTEMS_CPU=unix
     166        ;;
     167  i[3456]86-*freebsd2*)         # unix "simulator" port
     168        RTEMS_CPU=unix
     169        ;;
     170  no_cpu-*rtems*)
     171        RTEMS_CPU=no_cpu
     172        ;;
     173  sparc-sun-solaris*)           # unix "simulator" port
     174        RTEMS_CPU=unix
     175        ;;
     176  *)
     177        RTEMS_CPU=`echo $target | sed 's%^\([^-]*\)-\(.*\)$%\1%'`
     178        ;;
     179esac
     180changequote([,])dnl
     181AC_SUBST(RTEMS_CPU)
     182AC_MSG_RESULT($RTEMS_CPU)
     183])
     184
    182185# Add --enable-maintainer-mode option to configure.
    183186# From Jim Meyering
  • tools/cpu/generic/configure

    rd83c39dc r4075af6f  
    527527
    528528
     529
     530# Check whether --with-target-subdir or --without-target-subdir was given.
     531if test "${with_target_subdir+set}" = set; then
     532  withval="$with_target_subdir"
     533  TARGET_SUBDIR="$withval"
     534else
     535  TARGET_SUBDIR="."
     536fi
     537
     538
     539RTEMS_TOPdir="../../..";
     540
     541
     542echo $ac_n "checking for RTEMS Version""... $ac_c" 1>&6
     543echo "configure:544: checking for RTEMS Version" >&5
     544if test -r "${srcdir}/${RTEMS_TOPdir}/VERSION"; then
     545RTEMS_VERSION=`grep Version ${srcdir}/${RTEMS_TOPdir}/VERSION | \
     546sed -e 's%RTEMS[        ]*Version[      ]*\(.*\)[       ]*%\1%g'`
     547else
     548{ echo "configure: error: Unable to find ${RTEMS_TOPdir}/VERSION" 1>&2; exit 1; }
     549fi
     550if test -z "$RTEMS_VERSION"; then
     551{ echo "configure: error: Unable to determine version" 1>&2; exit 1; }
     552fi
     553echo "$ac_t""$RTEMS_VERSION" 1>&6
     554
    529555ac_aux_dir=
    530556for ac_dir in ../../.. $srcdir/../../..; do
     
    547573
    548574
    549 # Check whether --with-target-subdir or --without-target-subdir was given.
    550 if test "${with_target_subdir+set}" = set; then
    551   withval="$with_target_subdir"
    552   TARGET_SUBDIR="$withval"
    553 else
    554   TARGET_SUBDIR="."
    555 fi
    556 
    557 
    558 RTEMS_TOPdir="../../..";
    559 
    560 
    561 echo $ac_n "checking for RTEMS Version""... $ac_c" 1>&6
    562 echo "configure:563: checking for RTEMS Version" >&5
    563 if test -r "${srcdir}/${RTEMS_TOPdir}/VERSION"; then
    564 RTEMS_VERSION=`grep Version ${srcdir}/${RTEMS_TOPdir}/VERSION | \
    565 sed -e 's%RTEMS[        ]*Version[      ]*\(.*\)[       ]*%\1%g'`
    566 else
    567 { echo "configure: error: Unable to find ${RTEMS_TOPdir}/VERSION" 1>&2; exit 1; }
    568 fi
    569 if test -z "$RTEMS_VERSION"; then
    570 { echo "configure: error: Unable to determine version" 1>&2; exit 1; }
    571 fi
    572 echo "$ac_t""$RTEMS_VERSION" 1>&6
    573 
    574575
    575576
     
    601602
    602603echo $ac_n "checking host system type""... $ac_c" 1>&6
    603 echo "configure:604: checking host system type" >&5
     604echo "configure:605: checking host system type" >&5
    604605
    605606host_alias=$host
     
    622623
    623624echo $ac_n "checking target system type""... $ac_c" 1>&6
    624 echo "configure:625: checking target system type" >&5
     625echo "configure:626: checking target system type" >&5
    625626
    626627target_alias=$target
     
    640641
    641642echo $ac_n "checking build system type""... $ac_c" 1>&6
    642 echo "configure:643: checking build system type" >&5
     643echo "configure:644: checking build system type" >&5
    643644
    644645build_alias=$build
     
    663664
    664665echo $ac_n "checking rtems target cpu""... $ac_c" 1>&6
    665 echo "configure:666: checking rtems target cpu" >&5
     666echo "configure:667: checking rtems target cpu" >&5
    666667case "${target}" in
    667668  # hpux unix port should go here
     
    701702# ./install, which can be erroneously created by make from ./install.sh.
    702703echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
    703 echo "configure:704: checking for a BSD compatible install" >&5
     704echo "configure:705: checking for a BSD compatible install" >&5
    704705if test -z "$INSTALL"; then
    705706if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
     
    754755
    755756echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
    756 echo "configure:757: checking whether build environment is sane" >&5
     757echo "configure:758: checking whether build environment is sane" >&5
    757758# Just in case
    758759sleep 1
     
    811812
    812813echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
    813 echo "configure:814: checking whether ${MAKE-make} sets \${MAKE}" >&5
     814echo "configure:815: checking whether ${MAKE-make} sets \${MAKE}" >&5
    814815set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
    815816if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
     
    851852missing_dir=`cd $ac_aux_dir && pwd`
    852853echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
    853 echo "configure:854: checking for working aclocal" >&5
     854echo "configure:855: checking for working aclocal" >&5
    854855# Run test in a subshell; some versions of sh will print an error if
    855856# an executable is not found, even if stderr is redirected.
     
    864865
    865866echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
    866 echo "configure:867: checking for working autoconf" >&5
     867echo "configure:868: checking for working autoconf" >&5
    867868# Run test in a subshell; some versions of sh will print an error if
    868869# an executable is not found, even if stderr is redirected.
     
    877878
    878879echo $ac_n "checking for working automake""... $ac_c" 1>&6
    879 echo "configure:880: checking for working automake" >&5
     880echo "configure:881: checking for working automake" >&5
    880881# Run test in a subshell; some versions of sh will print an error if
    881882# an executable is not found, even if stderr is redirected.
     
    890891
    891892echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
    892 echo "configure:893: checking for working autoheader" >&5
     893echo "configure:894: checking for working autoheader" >&5
    893894# Run test in a subshell; some versions of sh will print an error if
    894895# an executable is not found, even if stderr is redirected.
     
    903904
    904905echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
    905 echo "configure:906: checking for working makeinfo" >&5
     906echo "configure:907: checking for working makeinfo" >&5
    906907# Run test in a subshell; some versions of sh will print an error if
    907908# an executable is not found, even if stderr is redirected.
     
    917918
    918919echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
    919 echo "configure:920: checking whether to enable maintainer-specific portions of Makefiles" >&5
     920echo "configure:921: checking whether to enable maintainer-specific portions of Makefiles" >&5
    920921    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
    921922if test "${enable_maintainer_mode+set}" = set; then
     
    946947set dummy $ac_prog; ac_word=$2
    947948echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    948 echo "configure:949: checking for $ac_word" >&5
     949echo "configure:950: checking for $ac_word" >&5
    949950if eval "test \"`echo '$''{'ac_cv_path_KSH'+set}'`\" = set"; then
    950951  echo $ac_n "(cached) $ac_c" 1>&6
  • tools/cpu/hppa1.1/aclocal.m4

    rd83c39dc r4075af6f  
    2020AC_DEFUN(RTEMS_TOP,
    2121[dnl
     22AC_BEFORE([$0], [AC_CONFIG_AUX_DIR])dnl
     23AC_BEFORE([$0], [AM_INIT_AUTOMAKE])dnl
     24
    2225AC_ARG_WITH(target-subdir,
    2326[  --with-target-subdir=DIR],
     
    4447AC_MSG_RESULT($RTEMS_VERSION)
    4548])dnl
    46 
    47 dnl
    48 dnl $Id$
    49 dnl
    50 
    51 dnl canonicalize target cpu
    52 dnl NOTE: Most rtems targets do not fullfil autoconf's
    53 dnl target naming conventions "processor-vendor-os"
    54 dnl Therefore autoconf's AC_CANONICAL_TARGET will fail for them
    55 dnl and we have to fix it for rtems ourselves
    56 
    57 AC_DEFUN(RTEMS_CANONICAL_TARGET_CPU,
    58 [
    59 AC_CANONICAL_SYSTEM
    60 AC_MSG_CHECKING(rtems target cpu)
    61 changequote(,)dnl
    62 case "${target}" in
    63   # hpux unix port should go here
    64   i[3456]86-go32-rtems*)
    65         RTEMS_CPU=i386
    66         ;;
    67   i[3456]86-pc-linux*)          # unix "simulator" port
    68         RTEMS_CPU=unix
    69         ;;
    70   i[3456]86-*freebsd2*)         # unix "simulator" port
    71         RTEMS_CPU=unix
    72         ;;
    73   no_cpu-*rtems*)
    74         RTEMS_CPU=no_cpu
    75         ;;
    76   sparc-sun-solaris*)           # unix "simulator" port
    77         RTEMS_CPU=unix
    78         ;;
    79   *)
    80         RTEMS_CPU=`echo $target | sed 's%^\([^-]*\)-\(.*\)$%\1%'`
    81         ;;
    82 esac
    83 changequote([,])dnl
    84 AC_SUBST(RTEMS_CPU)
    85 AC_MSG_RESULT($RTEMS_CPU)
    86 ])
    8749
    8850# Do all the work for Automake.  This macro actually does too much --
     
    180142AC_SUBST($1)])
    181143
     144dnl
     145dnl $Id$
     146dnl
     147
     148dnl canonicalize target cpu
     149dnl NOTE: Most rtems targets do not fullfil autoconf's
     150dnl target naming conventions "processor-vendor-os"
     151dnl Therefore autoconf's AC_CANONICAL_TARGET will fail for them
     152dnl and we have to fix it for rtems ourselves
     153
     154AC_DEFUN(RTEMS_CANONICAL_TARGET_CPU,
     155[
     156AC_CANONICAL_SYSTEM
     157AC_MSG_CHECKING(rtems target cpu)
     158changequote(,)dnl
     159case "${target}" in
     160  # hpux unix port should go here
     161  i[3456]86-go32-rtems*)
     162        RTEMS_CPU=i386
     163        ;;
     164  i[3456]86-pc-linux*)          # unix "simulator" port
     165        RTEMS_CPU=unix
     166        ;;
     167  i[3456]86-*freebsd2*)         # unix "simulator" port
     168        RTEMS_CPU=unix
     169        ;;
     170  no_cpu-*rtems*)
     171        RTEMS_CPU=no_cpu
     172        ;;
     173  sparc-sun-solaris*)           # unix "simulator" port
     174        RTEMS_CPU=unix
     175        ;;
     176  *)
     177        RTEMS_CPU=`echo $target | sed 's%^\([^-]*\)-\(.*\)$%\1%'`
     178        ;;
     179esac
     180changequote([,])dnl
     181AC_SUBST(RTEMS_CPU)
     182AC_MSG_RESULT($RTEMS_CPU)
     183])
     184
    182185# Add --enable-maintainer-mode option to configure.
    183186# From Jim Meyering
  • tools/cpu/hppa1.1/configure

    rd83c39dc r4075af6f  
    527527
    528528
     529
     530# Check whether --with-target-subdir or --without-target-subdir was given.
     531if test "${with_target_subdir+set}" = set; then
     532  withval="$with_target_subdir"
     533  TARGET_SUBDIR="$withval"
     534else
     535  TARGET_SUBDIR="."
     536fi
     537
     538
     539RTEMS_TOPdir="../../..";
     540
     541
     542echo $ac_n "checking for RTEMS Version""... $ac_c" 1>&6
     543echo "configure:544: checking for RTEMS Version" >&5
     544if test -r "${srcdir}/${RTEMS_TOPdir}/VERSION"; then
     545RTEMS_VERSION=`grep Version ${srcdir}/${RTEMS_TOPdir}/VERSION | \
     546sed -e 's%RTEMS[        ]*Version[      ]*\(.*\)[       ]*%\1%g'`
     547else
     548{ echo "configure: error: Unable to find ${RTEMS_TOPdir}/VERSION" 1>&2; exit 1; }
     549fi
     550if test -z "$RTEMS_VERSION"; then
     551{ echo "configure: error: Unable to determine version" 1>&2; exit 1; }
     552fi
     553echo "$ac_t""$RTEMS_VERSION" 1>&6
     554
    529555ac_aux_dir=
    530556for ac_dir in ../../.. $srcdir/../../..; do
     
    546572ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
    547573
    548 
    549 # Check whether --with-target-subdir or --without-target-subdir was given.
    550 if test "${with_target_subdir+set}" = set; then
    551   withval="$with_target_subdir"
    552   TARGET_SUBDIR="$withval"
    553 else
    554   TARGET_SUBDIR="."
    555 fi
    556 
    557 
    558 RTEMS_TOPdir="../../..";
    559 
    560 
    561 echo $ac_n "checking for RTEMS Version""... $ac_c" 1>&6
    562 echo "configure:563: checking for RTEMS Version" >&5
    563 if test -r "${srcdir}/${RTEMS_TOPdir}/VERSION"; then
    564 RTEMS_VERSION=`grep Version ${srcdir}/${RTEMS_TOPdir}/VERSION | \
    565 sed -e 's%RTEMS[        ]*Version[      ]*\(.*\)[       ]*%\1%g'`
    566 else
    567 { echo "configure: error: Unable to find ${RTEMS_TOPdir}/VERSION" 1>&2; exit 1; }
    568 fi
    569 if test -z "$RTEMS_VERSION"; then
    570 { echo "configure: error: Unable to determine version" 1>&2; exit 1; }
    571 fi
    572 echo "$ac_t""$RTEMS_VERSION" 1>&6
    573574
    574575
     
    601602
    602603echo $ac_n "checking host system type""... $ac_c" 1>&6
    603 echo "configure:604: checking host system type" >&5
     604echo "configure:605: checking host system type" >&5
    604605
    605606host_alias=$host
     
    622623
    623624echo $ac_n "checking target system type""... $ac_c" 1>&6
    624 echo "configure:625: checking target system type" >&5
     625echo "configure:626: checking target system type" >&5
    625626
    626627target_alias=$target
     
    640641
    641642echo $ac_n "checking build system type""... $ac_c" 1>&6
    642 echo "configure:643: checking build system type" >&5
     643echo "configure:644: checking build system type" >&5
    643644
    644645build_alias=$build
     
    663664
    664665echo $ac_n "checking rtems target cpu""... $ac_c" 1>&6
    665 echo "configure:666: checking rtems target cpu" >&5
     666echo "configure:667: checking rtems target cpu" >&5
    666667case "${target}" in
    667668  # hpux unix port should go here
     
    701702# ./install, which can be erroneously created by make from ./install.sh.
    702703echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
    703 echo "configure:704: checking for a BSD compatible install" >&5
     704echo "configure:705: checking for a BSD compatible install" >&5
    704705if test -z "$INSTALL"; then
    705706if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
     
    754755
    755756echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
    756 echo "configure:757: checking whether build environment is sane" >&5
     757echo "configure:758: checking whether build environment is sane" >&5
    757758# Just in case
    758759sleep 1
     
    811812
    812813echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
    813 echo "configure:814: checking whether ${MAKE-make} sets \${MAKE}" >&5
     814echo "configure:815: checking whether ${MAKE-make} sets \${MAKE}" >&5
    814815set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
    815816if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
     
    851852missing_dir=`cd $ac_aux_dir && pwd`
    852853echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
    853 echo "configure:854: checking for working aclocal" >&5
     854echo "configure:855: checking for working aclocal" >&5
    854855# Run test in a subshell; some versions of sh will print an error if
    855856# an executable is not found, even if stderr is redirected.
     
    864865
    865866echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
    866 echo "configure:867: checking for working autoconf" >&5
     867echo "configure:868: checking for working autoconf" >&5
    867868# Run test in a subshell; some versions of sh will print an error if
    868869# an executable is not found, even if stderr is redirected.
     
    877878
    878879echo $ac_n "checking for working automake""... $ac_c" 1>&6
    879 echo "configure:880: checking for working automake" >&5
     880echo "configure:881: checking for working automake" >&5
    880881# Run test in a subshell; some versions of sh will print an error if
    881882# an executable is not found, even if stderr is redirected.
     
    890891
    891892echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
    892 echo "configure:893: checking for working autoheader" >&5
     893echo "configure:894: checking for working autoheader" >&5
    893894# Run test in a subshell; some versions of sh will print an error if
    894895# an executable is not found, even if stderr is redirected.
     
    903904
    904905echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
    905 echo "configure:906: checking for working makeinfo" >&5
     906echo "configure:907: checking for working makeinfo" >&5
    906907# Run test in a subshell; some versions of sh will print an error if
    907908# an executable is not found, even if stderr is redirected.
     
    917918
    918919echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
    919 echo "configure:920: checking whether to enable maintainer-specific portions of Makefiles" >&5
     920echo "configure:921: checking whether to enable maintainer-specific portions of Makefiles" >&5
    920921    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
    921922if test "${enable_maintainer_mode+set}" = set; then
     
    940941
    941942echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
    942 echo "configure:943: checking for Cygwin environment" >&5
     943echo "configure:944: checking for Cygwin environment" >&5
    943944if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
    944945  echo $ac_n "(cached) $ac_c" 1>&6
    945946else
    946947  cat > conftest.$ac_ext <<EOF
    947 #line 948 "configure"
     948#line 949 "configure"
    948949#include "confdefs.h"
    949950
     
    956957; return 0; }
    957958EOF
    958 if { (eval echo configure:959: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     959if { (eval echo configure:960: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    959960  rm -rf conftest*
    960961  ac_cv_cygwin=yes
     
    973974test "$ac_cv_cygwin" = yes && CYGWIN=yes
    974975echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
    975 echo "configure:976: checking for mingw32 environment" >&5
     976echo "configure:977: checking for mingw32 environment" >&5
    976977if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
    977978  echo $ac_n "(cached) $ac_c" 1>&6
    978979else
    979980  cat > conftest.$ac_ext <<EOF
    980 #line 981 "configure"
     981#line 982 "configure"
    981982#include "confdefs.h"
    982983
     
    985986; return 0; }
    986987EOF
    987 if { (eval echo configure:988: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     988if { (eval echo configure:989: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    988989  rm -rf conftest*
    989990  ac_cv_mingw32=yes
     
    10041005
    10051006echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
    1006 echo "configure:1007: checking for executable suffix" >&5
     1007echo "configure:1008: checking for executable suffix" >&5
    10071008if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
    10081009  echo $ac_n "(cached) $ac_c" 1>&6
     
    10141015  echo 'int main () { return 0; }' > conftest.$ac_ext
    10151016  ac_cv_exeext=
    1016   if { (eval echo configure:1017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     1017  if { (eval echo configure:1018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
    10171018    for file in conftest.*; do
    10181019      case $file in
     
    10381039set dummy gcc; ac_word=$2
    10391040echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1040 echo "configure:1041: checking for $ac_word" >&5
     1041echo "configure:1042: checking for $ac_word" >&5
    10411042if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    10421043  echo $ac_n "(cached) $ac_c" 1>&6
     
    10681069set dummy cc; ac_word=$2
    10691070echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1070 echo "configure:1071: checking for $ac_word" >&5
     1071echo "configure:1072: checking for $ac_word" >&5
    10711072if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    10721073  echo $ac_n "(cached) $ac_c" 1>&6
     
    11191120set dummy cl; ac_word=$2
    11201121echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1121 echo "configure:1122: checking for $ac_word" >&5
     1122echo "configure:1123: checking for $ac_word" >&5
    11221123if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    11231124  echo $ac_n "(cached) $ac_c" 1>&6
     
    11511152
    11521153echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
    1153 echo "configure:1154: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
     1154echo "configure:1155: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
    11541155
    11551156ac_ext=c
     
    11621163cat > conftest.$ac_ext << EOF
    11631164
    1164 #line 1165 "configure"
     1165#line 1166 "configure"
    11651166#include "confdefs.h"
    11661167
    11671168main(){return(0);}
    11681169EOF
    1169 if { (eval echo configure:1170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1170if { (eval echo configure:1171: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    11701171  ac_cv_prog_cc_works=yes
    11711172  # If we can't run a trivial program, we are probably using a cross compiler.
     
    11931194fi
    11941195echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
    1195 echo "configure:1196: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
     1196echo "configure:1197: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
    11961197echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
    11971198cross_compiling=$ac_cv_prog_cc_cross
    11981199
    11991200echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
    1200 echo "configure:1201: checking whether we are using GNU C" >&5
     1201echo "configure:1202: checking whether we are using GNU C" >&5
    12011202if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
    12021203  echo $ac_n "(cached) $ac_c" 1>&6
     
    12071208#endif
    12081209EOF
    1209 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1210: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     1210if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1211: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    12101211  ac_cv_prog_gcc=yes
    12111212else
     
    12261227CFLAGS=
    12271228echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
    1228 echo "configure:1229: checking whether ${CC-cc} accepts -g" >&5
     1229echo "configure:1230: checking whether ${CC-cc} accepts -g" >&5
    12291230if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
    12301231  echo $ac_n "(cached) $ac_c" 1>&6
  • tools/cpu/sh/aclocal.m4

    rd83c39dc r4075af6f  
    2020AC_DEFUN(RTEMS_TOP,
    2121[dnl
     22AC_BEFORE([$0], [AC_CONFIG_AUX_DIR])dnl
     23AC_BEFORE([$0], [AM_INIT_AUTOMAKE])dnl
     24
    2225AC_ARG_WITH(target-subdir,
    2326[  --with-target-subdir=DIR],
     
    4447AC_MSG_RESULT($RTEMS_VERSION)
    4548])dnl
    46 
    47 dnl
    48 dnl $Id$
    49 dnl
    50 
    51 dnl canonicalize target cpu
    52 dnl NOTE: Most rtems targets do not fullfil autoconf's
    53 dnl target naming conventions "processor-vendor-os"
    54 dnl Therefore autoconf's AC_CANONICAL_TARGET will fail for them
    55 dnl and we have to fix it for rtems ourselves
    56 
    57 AC_DEFUN(RTEMS_CANONICAL_TARGET_CPU,
    58 [
    59 AC_CANONICAL_SYSTEM
    60 AC_MSG_CHECKING(rtems target cpu)
    61 changequote(,)dnl
    62 case "${target}" in
    63   # hpux unix port should go here
    64   i[3456]86-go32-rtems*)
    65         RTEMS_CPU=i386
    66         ;;
    67   i[3456]86-pc-linux*)          # unix "simulator" port
    68         RTEMS_CPU=unix
    69         ;;
    70   i[3456]86-*freebsd2*)         # unix "simulator" port
    71         RTEMS_CPU=unix
    72         ;;
    73   no_cpu-*rtems*)
    74         RTEMS_CPU=no_cpu
    75         ;;
    76   sparc-sun-solaris*)           # unix "simulator" port
    77         RTEMS_CPU=unix
    78         ;;
    79   *)
    80         RTEMS_CPU=`echo $target | sed 's%^\([^-]*\)-\(.*\)$%\1%'`
    81         ;;
    82 esac
    83 changequote([,])dnl
    84 AC_SUBST(RTEMS_CPU)
    85 AC_MSG_RESULT($RTEMS_CPU)
    86 ])
    8749
    8850# Do all the work for Automake.  This macro actually does too much --
     
    180142AC_SUBST($1)])
    181143
     144dnl
     145dnl $Id$
     146dnl
     147
     148dnl canonicalize target cpu
     149dnl NOTE: Most rtems targets do not fullfil autoconf's
     150dnl target naming conventions "processor-vendor-os"
     151dnl Therefore autoconf's AC_CANONICAL_TARGET will fail for them
     152dnl and we have to fix it for rtems ourselves
     153
     154AC_DEFUN(RTEMS_CANONICAL_TARGET_CPU,
     155[
     156AC_CANONICAL_SYSTEM
     157AC_MSG_CHECKING(rtems target cpu)
     158changequote(,)dnl
     159case "${target}" in
     160  # hpux unix port should go here
     161  i[3456]86-go32-rtems*)
     162        RTEMS_CPU=i386
     163        ;;
     164  i[3456]86-pc-linux*)          # unix "simulator" port
     165        RTEMS_CPU=unix
     166        ;;
     167  i[3456]86-*freebsd2*)         # unix "simulator" port
     168        RTEMS_CPU=unix
     169        ;;
     170  no_cpu-*rtems*)
     171        RTEMS_CPU=no_cpu
     172        ;;
     173  sparc-sun-solaris*)           # unix "simulator" port
     174        RTEMS_CPU=unix
     175        ;;
     176  *)
     177        RTEMS_CPU=`echo $target | sed 's%^\([^-]*\)-\(.*\)$%\1%'`
     178        ;;
     179esac
     180changequote([,])dnl
     181AC_SUBST(RTEMS_CPU)
     182AC_MSG_RESULT($RTEMS_CPU)
     183])
     184
    182185# Add --enable-maintainer-mode option to configure.
    183186# From Jim Meyering
  • tools/cpu/sh/configure

    rd83c39dc r4075af6f  
    527527
    528528
     529
     530# Check whether --with-target-subdir or --without-target-subdir was given.
     531if test "${with_target_subdir+set}" = set; then
     532  withval="$with_target_subdir"
     533  TARGET_SUBDIR="$withval"
     534else
     535  TARGET_SUBDIR="."
     536fi
     537
     538
     539RTEMS_TOPdir="../../..";
     540
     541
     542echo $ac_n "checking for RTEMS Version""... $ac_c" 1>&6
     543echo "configure:544: checking for RTEMS Version" >&5
     544if test -r "${srcdir}/${RTEMS_TOPdir}/VERSION"; then
     545RTEMS_VERSION=`grep Version ${srcdir}/${RTEMS_TOPdir}/VERSION | \
     546sed -e 's%RTEMS[        ]*Version[      ]*\(.*\)[       ]*%\1%g'`
     547else
     548{ echo "configure: error: Unable to find ${RTEMS_TOPdir}/VERSION" 1>&2; exit 1; }
     549fi
     550if test -z "$RTEMS_VERSION"; then
     551{ echo "configure: error: Unable to determine version" 1>&2; exit 1; }
     552fi
     553echo "$ac_t""$RTEMS_VERSION" 1>&6
     554
    529555ac_aux_dir=
    530556for ac_dir in ../../.. $srcdir/../../..; do
     
    546572ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
    547573
    548 
    549 # Check whether --with-target-subdir or --without-target-subdir was given.
    550 if test "${with_target_subdir+set}" = set; then
    551   withval="$with_target_subdir"
    552   TARGET_SUBDIR="$withval"
    553 else
    554   TARGET_SUBDIR="."
    555 fi
    556 
    557 
    558 RTEMS_TOPdir="../../..";
    559 
    560 
    561 echo $ac_n "checking for RTEMS Version""... $ac_c" 1>&6
    562 echo "configure:563: checking for RTEMS Version" >&5
    563 if test -r "${srcdir}/${RTEMS_TOPdir}/VERSION"; then
    564 RTEMS_VERSION=`grep Version ${srcdir}/${RTEMS_TOPdir}/VERSION | \
    565 sed -e 's%RTEMS[        ]*Version[      ]*\(.*\)[       ]*%\1%g'`
    566 else
    567 { echo "configure: error: Unable to find ${RTEMS_TOPdir}/VERSION" 1>&2; exit 1; }
    568 fi
    569 if test -z "$RTEMS_VERSION"; then
    570 { echo "configure: error: Unable to determine version" 1>&2; exit 1; }
    571 fi
    572 echo "$ac_t""$RTEMS_VERSION" 1>&6
    573574
    574575
     
    601602
    602603echo $ac_n "checking host system type""... $ac_c" 1>&6
    603 echo "configure:604: checking host system type" >&5
     604echo "configure:605: checking host system type" >&5
    604605
    605606host_alias=$host
     
    622623
    623624echo $ac_n "checking target system type""... $ac_c" 1>&6
    624 echo "configure:625: checking target system type" >&5
     625echo "configure:626: checking target system type" >&5
    625626
    626627target_alias=$target
     
    640641
    641642echo $ac_n "checking build system type""... $ac_c" 1>&6
    642 echo "configure:643: checking build system type" >&5
     643echo "configure:644: checking build system type" >&5
    643644
    644645build_alias=$build
     
    663664
    664665echo $ac_n "checking rtems target cpu""... $ac_c" 1>&6
    665 echo "configure:666: checking rtems target cpu" >&5
     666echo "configure:667: checking rtems target cpu" >&5
    666667case "${target}" in
    667668  # hpux unix port should go here
     
    701702# ./install, which can be erroneously created by make from ./install.sh.
    702703echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
    703 echo "configure:704: checking for a BSD compatible install" >&5
     704echo "configure:705: checking for a BSD compatible install" >&5
    704705if test -z "$INSTALL"; then
    705706if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
     
    754755
    755756echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
    756 echo "configure:757: checking whether build environment is sane" >&5
     757echo "configure:758: checking whether build environment is sane" >&5
    757758# Just in case
    758759sleep 1
     
    811812
    812813echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
    813 echo "configure:814: checking whether ${MAKE-make} sets \${MAKE}" >&5
     814echo "configure:815: checking whether ${MAKE-make} sets \${MAKE}" >&5
    814815set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
    815816if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
     
    851852missing_dir=`cd $ac_aux_dir && pwd`
    852853echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
    853 echo "configure:854: checking for working aclocal" >&5
     854echo "configure:855: checking for working aclocal" >&5
    854855# Run test in a subshell; some versions of sh will print an error if
    855856# an executable is not found, even if stderr is redirected.
     
    864865
    865866echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
    866 echo "configure:867: checking for working autoconf" >&5
     867echo "configure:868: checking for working autoconf" >&5
    867868# Run test in a subshell; some versions of sh will print an error if
    868869# an executable is not found, even if stderr is redirected.
     
    877878
    878879echo $ac_n "checking for working automake""... $ac_c" 1>&6
    879 echo "configure:880: checking for working automake" >&5
     880echo "configure:881: checking for working automake" >&5
    880881# Run test in a subshell; some versions of sh will print an error if
    881882# an executable is not found, even if stderr is redirected.
     
    890891
    891892echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
    892 echo "configure:893: checking for working autoheader" >&5
     893echo "configure:894: checking for working autoheader" >&5
    893894# Run test in a subshell; some versions of sh will print an error if
    894895# an executable is not found, even if stderr is redirected.
     
    903904
    904905echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
    905 echo "configure:906: checking for working makeinfo" >&5
     906echo "configure:907: checking for working makeinfo" >&5
    906907# Run test in a subshell; some versions of sh will print an error if
    907908# an executable is not found, even if stderr is redirected.
     
    917918
    918919echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
    919 echo "configure:920: checking whether to enable maintainer-specific portions of Makefiles" >&5
     920echo "configure:921: checking whether to enable maintainer-specific portions of Makefiles" >&5
    920921    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
    921922if test "${enable_maintainer_mode+set}" = set; then
     
    940941
    941942echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
    942 echo "configure:943: checking for Cygwin environment" >&5
     943echo "configure:944: checking for Cygwin environment" >&5
    943944if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
    944945  echo $ac_n "(cached) $ac_c" 1>&6
    945946else
    946947  cat > conftest.$ac_ext <<EOF
    947 #line 948 "configure"
     948#line 949 "configure"
    948949#include "confdefs.h"
    949950
     
    956957; return 0; }
    957958EOF
    958 if { (eval echo configure:959: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     959if { (eval echo configure:960: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    959960  rm -rf conftest*
    960961  ac_cv_cygwin=yes
     
    973974test "$ac_cv_cygwin" = yes && CYGWIN=yes
    974975echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
    975 echo "configure:976: checking for mingw32 environment" >&5
     976echo "configure:977: checking for mingw32 environment" >&5
    976977if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
    977978  echo $ac_n "(cached) $ac_c" 1>&6
    978979else
    979980  cat > conftest.$ac_ext <<EOF
    980 #line 981 "configure"
     981#line 982 "configure"
    981982#include "confdefs.h"
    982983
     
    985986; return 0; }
    986987EOF
    987 if { (eval echo configure:988: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     988if { (eval echo configure:989: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    988989  rm -rf conftest*
    989990  ac_cv_mingw32=yes
     
    10041005
    10051006echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
    1006 echo "configure:1007: checking for executable suffix" >&5
     1007echo "configure:1008: checking for executable suffix" >&5
    10071008if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
    10081009  echo $ac_n "(cached) $ac_c" 1>&6
     
    10141015  echo 'int main () { return 0; }' > conftest.$ac_ext
    10151016  ac_cv_exeext=
    1016   if { (eval echo configure:1017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     1017  if { (eval echo configure:1018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
    10171018    for file in conftest.*; do
    10181019      case $file in
     
    10381039set dummy gcc; ac_word=$2
    10391040echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1040 echo "configure:1041: checking for $ac_word" >&5
     1041echo "configure:1042: checking for $ac_word" >&5
    10411042if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    10421043  echo $ac_n "(cached) $ac_c" 1>&6
     
    10681069set dummy cc; ac_word=$2
    10691070echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1070 echo "configure:1071: checking for $ac_word" >&5
     1071echo "configure:1072: checking for $ac_word" >&5
    10711072if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    10721073  echo $ac_n "(cached) $ac_c" 1>&6
     
    11191120set dummy cl; ac_word=$2
    11201121echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1121 echo "configure:1122: checking for $ac_word" >&5
     1122echo "configure:1123: checking for $ac_word" >&5
    11221123if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    11231124  echo $ac_n "(cached) $ac_c" 1>&6
     
    11511152
    11521153echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
    1153 echo "configure:1154: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
     1154echo "configure:1155: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
    11541155
    11551156ac_ext=c
     
    11621163cat > conftest.$ac_ext << EOF
    11631164
    1164 #line 1165 "configure"
     1165#line 1166 "configure"
    11651166#include "confdefs.h"
    11661167
    11671168main(){return(0);}
    11681169EOF
    1169 if { (eval echo configure:1170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1170if { (eval echo configure:1171: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    11701171  ac_cv_prog_cc_works=yes
    11711172  # If we can't run a trivial program, we are probably using a cross compiler.
     
    11931194fi
    11941195echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
    1195 echo "configure:1196: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
     1196echo "configure:1197: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
    11961197echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
    11971198cross_compiling=$ac_cv_prog_cc_cross
    11981199
    11991200echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
    1200 echo "configure:1201: checking whether we are using GNU C" >&5
     1201echo "configure:1202: checking whether we are using GNU C" >&5
    12011202if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
    12021203  echo $ac_n "(cached) $ac_c" 1>&6
     
    12071208#endif
    12081209EOF
    1209 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1210: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     1210if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1211: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    12101211  ac_cv_prog_gcc=yes
    12111212else
     
    12261227CFLAGS=
    12271228echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
    1228 echo "configure:1229: checking whether ${CC-cc} accepts -g" >&5
     1229echo "configure:1230: checking whether ${CC-cc} accepts -g" >&5
    12291230if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
    12301231  echo $ac_n "(cached) $ac_c" 1>&6
     
    12581259
    12591260echo $ac_n "checking for fabs in -lm""... $ac_c" 1>&6
    1260 echo "configure:1261: checking for fabs in -lm" >&5
     1261echo "configure:1262: checking for fabs in -lm" >&5
    12611262ac_lib_var=`echo m'_'fabs | sed 'y%./+-%__p_%'`
    12621263if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    12661267LIBS="-lm  $LIBS"
    12671268cat > conftest.$ac_ext <<EOF
    1268 #line 1269 "configure"
     1269#line 1270 "configure"
    12691270#include "confdefs.h"
    12701271/* Override any gcc2 internal prototype to avoid an error.  */
     
    12771278; return 0; }
    12781279EOF
    1279 if { (eval echo configure:1280: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1280if { (eval echo configure:1281: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    12801281  rm -rf conftest*
    12811282  eval "ac_cv_lib_$ac_lib_var=yes"
  • tools/cpu/unix/aclocal.m4

    rd83c39dc r4075af6f  
    2020AC_DEFUN(RTEMS_TOP,
    2121[dnl
     22AC_BEFORE([$0], [AC_CONFIG_AUX_DIR])dnl
     23AC_BEFORE([$0], [AM_INIT_AUTOMAKE])dnl
     24
    2225AC_ARG_WITH(target-subdir,
    2326[  --with-target-subdir=DIR],
     
    4447AC_MSG_RESULT($RTEMS_VERSION)
    4548])dnl
    46 
    47 dnl
    48 dnl $Id$
    49 dnl
    50 
    51 dnl canonicalize target cpu
    52 dnl NOTE: Most rtems targets do not fullfil autoconf's
    53 dnl target naming conventions "processor-vendor-os"
    54 dnl Therefore autoconf's AC_CANONICAL_TARGET will fail for them
    55 dnl and we have to fix it for rtems ourselves
    56 
    57 AC_DEFUN(RTEMS_CANONICAL_TARGET_CPU,
    58 [
    59 AC_CANONICAL_SYSTEM
    60 AC_MSG_CHECKING(rtems target cpu)
    61 changequote(,)dnl
    62 case "${target}" in
    63   # hpux unix port should go here
    64   i[3456]86-go32-rtems*)
    65         RTEMS_CPU=i386
    66         ;;
    67   i[3456]86-pc-linux*)          # unix "simulator" port
    68         RTEMS_CPU=unix
    69         ;;
    70   i[3456]86-*freebsd2*)         # unix "simulator" port
    71         RTEMS_CPU=unix
    72         ;;
    73   no_cpu-*rtems*)
    74         RTEMS_CPU=no_cpu
    75         ;;
    76   sparc-sun-solaris*)           # unix "simulator" port
    77         RTEMS_CPU=unix
    78         ;;
    79   *)
    80         RTEMS_CPU=`echo $target | sed 's%^\([^-]*\)-\(.*\)$%\1%'`
    81         ;;
    82 esac
    83 changequote([,])dnl
    84 AC_SUBST(RTEMS_CPU)
    85 AC_MSG_RESULT($RTEMS_CPU)
    86 ])
    8749
    8850# Do all the work for Automake.  This macro actually does too much --
     
    180142AC_SUBST($1)])
    181143
     144dnl
     145dnl $Id$
     146dnl
     147
     148dnl canonicalize target cpu
     149dnl NOTE: Most rtems targets do not fullfil autoconf's
     150dnl target naming conventions "processor-vendor-os"
     151dnl Therefore autoconf's AC_CANONICAL_TARGET will fail for them
     152dnl and we have to fix it for rtems ourselves
     153
     154AC_DEFUN(RTEMS_CANONICAL_TARGET_CPU,
     155[
     156AC_CANONICAL_SYSTEM
     157AC_MSG_CHECKING(rtems target cpu)
     158changequote(,)dnl
     159case "${target}" in
     160  # hpux unix port should go here
     161  i[3456]86-go32-rtems*)
     162        RTEMS_CPU=i386
     163        ;;
     164  i[3456]86-pc-linux*)          # unix "simulator" port
     165        RTEMS_CPU=unix
     166        ;;
     167  i[3456]86-*freebsd2*)         # unix "simulator" port
     168        RTEMS_CPU=unix
     169        ;;
     170  no_cpu-*rtems*)
     171        RTEMS_CPU=no_cpu
     172        ;;
     173  sparc-sun-solaris*)           # unix "simulator" port
     174        RTEMS_CPU=unix
     175        ;;
     176  *)
     177        RTEMS_CPU=`echo $target | sed 's%^\([^-]*\)-\(.*\)$%\1%'`
     178        ;;
     179esac
     180changequote([,])dnl
     181AC_SUBST(RTEMS_CPU)
     182AC_MSG_RESULT($RTEMS_CPU)
     183])
     184
    182185# Add --enable-maintainer-mode option to configure.
    183186# From Jim Meyering
  • tools/cpu/unix/configure

    rd83c39dc r4075af6f  
    527527
    528528
     529
     530# Check whether --with-target-subdir or --without-target-subdir was given.
     531if test "${with_target_subdir+set}" = set; then
     532  withval="$with_target_subdir"
     533  TARGET_SUBDIR="$withval"
     534else
     535  TARGET_SUBDIR="."
     536fi
     537
     538
     539RTEMS_TOPdir="../../..";
     540
     541
     542echo $ac_n "checking for RTEMS Version""... $ac_c" 1>&6
     543echo "configure:544: checking for RTEMS Version" >&5
     544if test -r "${srcdir}/${RTEMS_TOPdir}/VERSION"; then
     545RTEMS_VERSION=`grep Version ${srcdir}/${RTEMS_TOPdir}/VERSION | \
     546sed -e 's%RTEMS[        ]*Version[      ]*\(.*\)[       ]*%\1%g'`
     547else
     548{ echo "configure: error: Unable to find ${RTEMS_TOPdir}/VERSION" 1>&2; exit 1; }
     549fi
     550if test -z "$RTEMS_VERSION"; then
     551{ echo "configure: error: Unable to determine version" 1>&2; exit 1; }
     552fi
     553echo "$ac_t""$RTEMS_VERSION" 1>&6
     554
    529555ac_aux_dir=
    530556for ac_dir in ../../.. $srcdir/../../..; do
     
    546572ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
    547573
    548 
    549 # Check whether --with-target-subdir or --without-target-subdir was given.
    550 if test "${with_target_subdir+set}" = set; then
    551   withval="$with_target_subdir"
    552   TARGET_SUBDIR="$withval"
    553 else
    554   TARGET_SUBDIR="."
    555 fi
    556 
    557 
    558 RTEMS_TOPdir="../../..";
    559 
    560 
    561 echo $ac_n "checking for RTEMS Version""... $ac_c" 1>&6
    562 echo "configure:563: checking for RTEMS Version" >&5
    563 if test -r "${srcdir}/${RTEMS_TOPdir}/VERSION"; then
    564 RTEMS_VERSION=`grep Version ${srcdir}/${RTEMS_TOPdir}/VERSION | \
    565 sed -e 's%RTEMS[        ]*Version[      ]*\(.*\)[       ]*%\1%g'`
    566 else
    567 { echo "configure: error: Unable to find ${RTEMS_TOPdir}/VERSION" 1>&2; exit 1; }
    568 fi
    569 if test -z "$RTEMS_VERSION"; then
    570 { echo "configure: error: Unable to determine version" 1>&2; exit 1; }
    571 fi
    572 echo "$ac_t""$RTEMS_VERSION" 1>&6
    573574
    574575
     
    601602
    602603echo $ac_n "checking host system type""... $ac_c" 1>&6
    603 echo "configure:604: checking host system type" >&5
     604echo "configure:605: checking host system type" >&5
    604605
    605606host_alias=$host
     
    622623
    623624echo $ac_n "checking target system type""... $ac_c" 1>&6
    624 echo "configure:625: checking target system type" >&5
     625echo "configure:626: checking target system type" >&5
    625626
    626627target_alias=$target
     
    640641
    641642echo $ac_n "checking build system type""... $ac_c" 1>&6
    642 echo "configure:643: checking build system type" >&5
     643echo "configure:644: checking build system type" >&5
    643644
    644645build_alias=$build
     
    663664
    664665echo $ac_n "checking rtems target cpu""... $ac_c" 1>&6
    665 echo "configure:666: checking rtems target cpu" >&5
     666echo "configure:667: checking rtems target cpu" >&5
    666667case "${target}" in
    667668  # hpux unix port should go here
     
    701702# ./install, which can be erroneously created by make from ./install.sh.
    702703echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
    703 echo "configure:704: checking for a BSD compatible install" >&5
     704echo "configure:705: checking for a BSD compatible install" >&5
    704705if test -z "$INSTALL"; then
    705706if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
     
    754755
    755756echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
    756 echo "configure:757: checking whether build environment is sane" >&5
     757echo "configure:758: checking whether build environment is sane" >&5
    757758# Just in case
    758759sleep 1
     
    811812
    812813echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
    813 echo "configure:814: checking whether ${MAKE-make} sets \${MAKE}" >&5
     814echo "configure:815: checking whether ${MAKE-make} sets \${MAKE}" >&5
    814815set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
    815816if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
     
    851852missing_dir=`cd $ac_aux_dir && pwd`
    852853echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
    853 echo "configure:854: checking for working aclocal" >&5
     854echo "configure:855: checking for working aclocal" >&5
    854855# Run test in a subshell; some versions of sh will print an error if
    855856# an executable is not found, even if stderr is redirected.
     
    864865
    865866echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
    866 echo "configure:867: checking for working autoconf" >&5
     867echo "configure:868: checking for working autoconf" >&5
    867868# Run test in a subshell; some versions of sh will print an error if
    868869# an executable is not found, even if stderr is redirected.
     
    877878
    878879echo $ac_n "checking for working automake""... $ac_c" 1>&6
    879 echo "configure:880: checking for working automake" >&5
     880echo "configure:881: checking for working automake" >&5
    880881# Run test in a subshell; some versions of sh will print an error if
    881882# an executable is not found, even if stderr is redirected.
     
    890891
    891892echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
    892 echo "configure:893: checking for working autoheader" >&5
     893echo "configure:894: checking for working autoheader" >&5
    893894# Run test in a subshell; some versions of sh will print an error if
    894895# an executable is not found, even if stderr is redirected.
     
    903904
    904905echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
    905 echo "configure:906: checking for working makeinfo" >&5
     906echo "configure:907: checking for working makeinfo" >&5
    906907# Run test in a subshell; some versions of sh will print an error if
    907908# an executable is not found, even if stderr is redirected.
     
    917918
    918919echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
    919 echo "configure:920: checking whether to enable maintainer-specific portions of Makefiles" >&5
     920echo "configure:921: checking whether to enable maintainer-specific portions of Makefiles" >&5
    920921    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
    921922if test "${enable_maintainer_mode+set}" = set; then
     
    940941
    941942echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
    942 echo "configure:943: checking for Cygwin environment" >&5
     943echo "configure:944: checking for Cygwin environment" >&5
    943944if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
    944945  echo $ac_n "(cached) $ac_c" 1>&6
    945946else
    946947  cat > conftest.$ac_ext <<EOF
    947 #line 948 "configure"
     948#line 949 "configure"
    948949#include "confdefs.h"
    949950
     
    956957; return 0; }
    957958EOF
    958 if { (eval echo configure:959: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     959if { (eval echo configure:960: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    959960  rm -rf conftest*
    960961  ac_cv_cygwin=yes
     
    973974test "$ac_cv_cygwin" = yes && CYGWIN=yes
    974975echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
    975 echo "configure:976: checking for mingw32 environment" >&5
     976echo "configure:977: checking for mingw32 environment" >&5
    976977if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
    977978  echo $ac_n "(cached) $ac_c" 1>&6
    978979else
    979980  cat > conftest.$ac_ext <<EOF
    980 #line 981 "configure"
     981#line 982 "configure"
    981982#include "confdefs.h"
    982983
     
    985986; return 0; }
    986987EOF
    987 if { (eval echo configure:988: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     988if { (eval echo configure:989: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    988989  rm -rf conftest*
    989990  ac_cv_mingw32=yes
     
    10041005
    10051006echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
    1006 echo "configure:1007: checking for executable suffix" >&5
     1007echo "configure:1008: checking for executable suffix" >&5
    10071008if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
    10081009  echo $ac_n "(cached) $ac_c" 1>&6
     
    10141015  echo 'int main () { return 0; }' > conftest.$ac_ext
    10151016  ac_cv_exeext=
    1016   if { (eval echo configure:1017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     1017  if { (eval echo configure:1018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
    10171018    for file in conftest.*; do
    10181019      case $file in
     
    10381039set dummy gcc; ac_word=$2
    10391040echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1040 echo "configure:1041: checking for $ac_word" >&5
     1041echo "configure:1042: checking for $ac_word" >&5
    10411042if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    10421043  echo $ac_n "(cached) $ac_c" 1>&6
     
    10681069set dummy cc; ac_word=$2
    10691070echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1070 echo "configure:1071: checking for $ac_word" >&5
     1071echo "configure:1072: checking for $ac_word" >&5
    10711072if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    10721073  echo $ac_n "(cached) $ac_c" 1>&6
     
    11191120set dummy cl; ac_word=$2
    11201121echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1121 echo "configure:1122: checking for $ac_word" >&5
     1122echo "configure:1123: checking for $ac_word" >&5
    11221123if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    11231124  echo $ac_n "(cached) $ac_c" 1>&6
     
    11511152
    11521153echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
    1153 echo "configure:1154: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
     1154echo "configure:1155: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
    11541155
    11551156ac_ext=c
     
    11621163cat > conftest.$ac_ext << EOF
    11631164
    1164 #line 1165 "configure"
     1165#line 1166 "configure"
    11651166#include "confdefs.h"
    11661167
    11671168main(){return(0);}
    11681169EOF
    1169 if { (eval echo configure:1170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1170if { (eval echo configure:1171: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    11701171  ac_cv_prog_cc_works=yes
    11711172  # If we can't run a trivial program, we are probably using a cross compiler.
     
    11931194fi
    11941195echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
    1195 echo "configure:1196: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
     1196echo "configure:1197: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
    11961197echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
    11971198cross_compiling=$ac_cv_prog_cc_cross
    11981199
    11991200echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
    1200 echo "configure:1201: checking whether we are using GNU C" >&5
     1201echo "configure:1202: checking whether we are using GNU C" >&5
    12011202if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
    12021203  echo $ac_n "(cached) $ac_c" 1>&6
     
    12071208#endif
    12081209EOF
    1209 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1210: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     1210if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1211: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    12101211  ac_cv_prog_gcc=yes
    12111212else
     
    12261227CFLAGS=
    12271228echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
    1228 echo "configure:1229: checking whether ${CC-cc} accepts -g" >&5
     1229echo "configure:1230: checking whether ${CC-cc} accepts -g" >&5
    12291230if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
    12301231  echo $ac_n "(cached) $ac_c" 1>&6
  • tools/update/aclocal.m4

    rd83c39dc r4075af6f  
    2020AC_DEFUN(RTEMS_TOP,
    2121[dnl
     22AC_BEFORE([$0], [AC_CONFIG_AUX_DIR])dnl
     23AC_BEFORE([$0], [AM_INIT_AUTOMAKE])dnl
     24
    2225AC_ARG_WITH(target-subdir,
    2326[  --with-target-subdir=DIR],
  • tools/update/configure

    rd83c39dc r4075af6f  
    527527
    528528
     529
     530# Check whether --with-target-subdir or --without-target-subdir was given.
     531if test "${with_target_subdir+set}" = set; then
     532  withval="$with_target_subdir"
     533  TARGET_SUBDIR="$withval"
     534else
     535  TARGET_SUBDIR="."
     536fi
     537
     538
     539RTEMS_TOPdir="../..";
     540
     541
     542echo $ac_n "checking for RTEMS Version""... $ac_c" 1>&6
     543echo "configure:544: checking for RTEMS Version" >&5
     544if test -r "${srcdir}/${RTEMS_TOPdir}/VERSION"; then
     545RTEMS_VERSION=`grep Version ${srcdir}/${RTEMS_TOPdir}/VERSION | \
     546sed -e 's%RTEMS[        ]*Version[      ]*\(.*\)[       ]*%\1%g'`
     547else
     548{ echo "configure: error: Unable to find ${RTEMS_TOPdir}/VERSION" 1>&2; exit 1; }
     549fi
     550if test -z "$RTEMS_VERSION"; then
     551{ echo "configure: error: Unable to determine version" 1>&2; exit 1; }
     552fi
     553echo "$ac_t""$RTEMS_VERSION" 1>&6
     554
    529555ac_aux_dir=
    530556for ac_dir in ../.. $srcdir/../..; do
     
    546572ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
    547573
    548 # Check whether --with-target-subdir or --without-target-subdir was given.
    549 if test "${with_target_subdir+set}" = set; then
    550   withval="$with_target_subdir"
    551   TARGET_SUBDIR="$withval"
    552 else
    553   TARGET_SUBDIR="."
    554 fi
    555 
    556 
    557 RTEMS_TOPdir="../..";
    558 
    559 
    560 echo $ac_n "checking for RTEMS Version""... $ac_c" 1>&6
    561 echo "configure:562: checking for RTEMS Version" >&5
    562 if test -r "${srcdir}/${RTEMS_TOPdir}/VERSION"; then
    563 RTEMS_VERSION=`grep Version ${srcdir}/${RTEMS_TOPdir}/VERSION | \
    564 sed -e 's%RTEMS[        ]*Version[      ]*\(.*\)[       ]*%\1%g'`
    565 else
    566 { echo "configure: error: Unable to find ${RTEMS_TOPdir}/VERSION" 1>&2; exit 1; }
    567 fi
    568 if test -z "$RTEMS_VERSION"; then
    569 { echo "configure: error: Unable to determine version" 1>&2; exit 1; }
    570 fi
    571 echo "$ac_t""$RTEMS_VERSION" 1>&6
    572 
    573574
    574575
     
    579580
    580581echo $ac_n "checking host system type""... $ac_c" 1>&6
    581 echo "configure:582: checking host system type" >&5
     582echo "configure:583: checking host system type" >&5
    582583
    583584host_alias=$host
     
    612613# ./install, which can be erroneously created by make from ./install.sh.
    613614echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
    614 echo "configure:615: checking for a BSD compatible install" >&5
     615echo "configure:616: checking for a BSD compatible install" >&5
    615616if test -z "$INSTALL"; then
    616617if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
     
    665666
    666667echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
    667 echo "configure:668: checking whether build environment is sane" >&5
     668echo "configure:669: checking whether build environment is sane" >&5
    668669# Just in case
    669670sleep 1
     
    722723
    723724echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
    724 echo "configure:725: checking whether ${MAKE-make} sets \${MAKE}" >&5
     725echo "configure:726: checking whether ${MAKE-make} sets \${MAKE}" >&5
    725726set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
    726727if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
     
    762763missing_dir=`cd $ac_aux_dir && pwd`
    763764echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
    764 echo "configure:765: checking for working aclocal" >&5
     765echo "configure:766: checking for working aclocal" >&5
    765766# Run test in a subshell; some versions of sh will print an error if
    766767# an executable is not found, even if stderr is redirected.
     
    775776
    776777echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
    777 echo "configure:778: checking for working autoconf" >&5
     778echo "configure:779: checking for working autoconf" >&5
    778779# Run test in a subshell; some versions of sh will print an error if
    779780# an executable is not found, even if stderr is redirected.
     
    788789
    789790echo $ac_n "checking for working automake""... $ac_c" 1>&6
    790 echo "configure:791: checking for working automake" >&5
     791echo "configure:792: checking for working automake" >&5
    791792# Run test in a subshell; some versions of sh will print an error if
    792793# an executable is not found, even if stderr is redirected.
     
    801802
    802803echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
    803 echo "configure:804: checking for working autoheader" >&5
     804echo "configure:805: checking for working autoheader" >&5
    804805# Run test in a subshell; some versions of sh will print an error if
    805806# an executable is not found, even if stderr is redirected.
     
    814815
    815816echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
    816 echo "configure:817: checking for working makeinfo" >&5
     817echo "configure:818: checking for working makeinfo" >&5
    817818# Run test in a subshell; some versions of sh will print an error if
    818819# an executable is not found, even if stderr is redirected.
     
    828829
    829830echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
    830 echo "configure:831: checking whether to enable maintainer-specific portions of Makefiles" >&5
     831echo "configure:832: checking whether to enable maintainer-specific portions of Makefiles" >&5
    831832    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
    832833if test "${enable_maintainer_mode+set}" = set; then
     
    857858set dummy $ac_prog; ac_word=$2
    858859echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    859 echo "configure:860: checking for $ac_word" >&5
     860echo "configure:861: checking for $ac_word" >&5
    860861if eval "test \"`echo '$''{'ac_cv_path_KSH'+set}'`\" = set"; then
    861862  echo $ac_n "(cached) $ac_c" 1>&6
     
    902903set dummy perl; ac_word=$2
    903904echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    904 echo "configure:905: checking for $ac_word" >&5
     905echo "configure:906: checking for $ac_word" >&5
    905906if eval "test \"`echo '$''{'ac_cv_path_PERL'+set}'`\" = set"; then
    906907  echo $ac_n "(cached) $ac_c" 1>&6
Note: See TracChangeset for help on using the changeset viewer.