diff options
author | Stan Shebs <shebs@codesourcery.com> | 1999-05-11 13:35:55 +0000 |
---|---|---|
committer | Stan Shebs <shebs@codesourcery.com> | 1999-05-11 13:35:55 +0000 |
commit | cd0fc7c3ebe90ce6390e06cef0ae9a54fe9c9891 (patch) | |
tree | 422678986a58e51b2a7fe3d64c38b97d4996abe1 /sim/common/aclocal.m4 | |
parent | e9868447b4b62dd04b5350113b136856ddbaa232 (diff) | |
download | gdb-cd0fc7c3ebe90ce6390e06cef0ae9a54fe9c9891.zip gdb-cd0fc7c3ebe90ce6390e06cef0ae9a54fe9c9891.tar.gz gdb-cd0fc7c3ebe90ce6390e06cef0ae9a54fe9c9891.tar.bz2 |
import gdb-1999-05-10
Diffstat (limited to 'sim/common/aclocal.m4')
-rw-r--r-- | sim/common/aclocal.m4 | 47 |
1 files changed, 1 insertions, 46 deletions
diff --git a/sim/common/aclocal.m4 b/sim/common/aclocal.m4 index e3b595a..b452611 100644 --- a/sim/common/aclocal.m4 +++ b/sim/common/aclocal.m4 @@ -207,7 +207,7 @@ dnl Types used by common code AC_TYPE_SIGNAL dnl Detect exe extension -AM_EXEEXT +AC_EXEEXT dnl These are available to append to as desired. sim_link_files= @@ -1176,51 +1176,6 @@ AC_DEFUN(AM_LC_MESSAGES, fi fi]) -# Check to see if we're running under Cygwin32, without using -# AC_CANONICAL_*. If so, set output variable CYGWIN32 to "yes". -# Otherwise set it to "no". - -dnl AM_CYGWIN32() -dnl You might think we can do this by checking for a cygwin32-specific -dnl cpp define. -AC_DEFUN(AM_CYGWIN32, -[AC_CACHE_CHECK(for Cygwin32 environment, am_cv_cygwin32, -[AC_TRY_COMPILE(,[int main () { return __CYGWIN32__; }], -am_cv_cygwin32=yes, am_cv_cygwin32=no) -rm -f conftest*]) -CYGWIN32= -test "$am_cv_cygwin32" = yes && CYGWIN32=yes]) - -# Check to see if we're running under Win32, without using -# AC_CANONICAL_*. If so, set output variable EXEEXT to ".exe". -# Otherwise set it to "". - -dnl AM_EXEEXT() -dnl This knows we add .exe if we're building in the Cygwin32 -dnl environment. But if we're not, then it compiles a test program -dnl to see if there is a suffix for executables. -AC_DEFUN(AM_EXEEXT, -dnl AC_REQUIRE([AC_PROG_CC])AC_REQUIRE([AM_CYGWIN32]) -AC_MSG_CHECKING([for executable suffix]) -[AC_CACHE_VAL(am_cv_exeext, -[if test "$CYGWIN32" = yes; then -am_cv_exeext=.exe -else -cat > am_c_test.c << 'EOF' -int main() { -/* Nothing needed here */ -} -EOF -${CC-cc} -o am_c_test $CFLAGS $CPPFLAGS $LDFLAGS am_c_test.c $LIBS 1>&5 -am_cv_exeext=`ls am_c_test.* | grep -v am_c_test.c | sed -e s/am_c_test//` -rm -f am_c_test*]) -test x"${am_cv_exeext}" = x && am_cv_exeext=no -fi -EXEEXT="" -test x"${am_cv_exeext}" != xno && EXEEXT=${am_cv_exeext} -AC_MSG_RESULT(${am_cv_exeext}) -AC_SUBST(EXEEXT)]) - dnl --enable-cgen-maint support AC_DEFUN(SIM_AC_OPTION_CGEN_MAINT, |