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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [or1ksim/] [testsuite/] [test-code-or1k/] [m4/] [ltoptions.m4] - Diff between revs 90 and 784

Show entire file | Details | Blame | View Log

Rev 90 Rev 784
Line 1... Line 1...
# Helper functions for option handling.                    -*- Autoconf -*-
# Helper functions for option handling.                    -*- Autoconf -*-
#
#
#   Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
#   Copyright (C) 2004, 2005, 2007, 2008, 2009 Free Software Foundation,
 
#   Inc.
#   Written by Gary V. Vaughan, 2004
#   Written by Gary V. Vaughan, 2004
#
#
# This file is free software; the Free Software Foundation gives
# This file is free software; the Free Software Foundation gives
# unlimited permission to copy and/or distribute it, with or without
# unlimited permission to copy and/or distribute it, with or without
# modifications, as long as this notice is preserved.
# modifications, as long as this notice is preserved.
 
 
# serial 6 ltoptions.m4
# serial 7 ltoptions.m4
 
 
# This is to help aclocal find these macros, as it can't see m4_define.
# This is to help aclocal find these macros, as it can't see m4_define.
AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])
AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])
 
 
 
 
Line 123... Line 124...
# Declare package support for building win32 dll's.
# Declare package support for building win32 dll's.
LT_OPTION_DEFINE([LT_INIT], [win32-dll],
LT_OPTION_DEFINE([LT_INIT], [win32-dll],
[enable_win32_dll=yes
[enable_win32_dll=yes
 
 
case $host in
case $host in
*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
  AC_CHECK_TOOL(AS, as, false)
  AC_CHECK_TOOL(AS, as, false)
  AC_CHECK_TOOL(DLLTOOL, dlltool, false)
  AC_CHECK_TOOL(DLLTOOL, dlltool, false)
  AC_CHECK_TOOL(OBJDUMP, objdump, false)
  AC_CHECK_TOOL(OBJDUMP, objdump, false)
  ;;
  ;;
esac
esac
 
 
test -z "$AS" && AS=as
test -z "$AS" && AS=as
_LT_DECL([], [AS],      [0], [Assembler program])dnl
_LT_DECL([], [AS],      [1], [Assembler program])dnl
 
 
test -z "$DLLTOOL" && DLLTOOL=dlltool
test -z "$DLLTOOL" && DLLTOOL=dlltool
_LT_DECL([], [DLLTOOL], [0], [DLL creation program])dnl
_LT_DECL([], [DLLTOOL], [1], [DLL creation program])dnl
 
 
test -z "$OBJDUMP" && OBJDUMP=objdump
test -z "$OBJDUMP" && OBJDUMP=objdump
_LT_DECL([], [OBJDUMP], [0], [Object dumper program])dnl
_LT_DECL([], [OBJDUMP], [1], [Object dumper program])dnl
])# win32-dll
])# win32-dll
 
 
AU_DEFUN([AC_LIBTOOL_WIN32_DLL],
AU_DEFUN([AC_LIBTOOL_WIN32_DLL],
[AC_REQUIRE([AC_CANONICAL_HOST])dnl
[AC_REQUIRE([AC_CANONICAL_HOST])dnl
_LT_SET_OPTION([LT_INIT], [win32-dll])
_LT_SET_OPTION([LT_INIT], [win32-dll])

powered by: WebSVN 2.1.0

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