~ubuntu-branches/ubuntu/quantal/gtkhtml4.0/quantal-proposed

« back to all changes in this revision

Viewing changes to m4/ltoptions.m4

  • Committer: Package Import Robot
  • Author(s): Josselin Mouette
  • Date: 2011-12-16 19:49:17 UTC
  • mfrom: (1.1.6) (3.3.3 sid)
  • Revision ID: package-import@ubuntu.com-20111216194917-17k8hwpdrb6vhu62
Tags: 4.2.2-1
* New upstream release.
* 01_deprecated.patch: patch from upstream git. Don’t use 
  _DISABLE_DEPRECATED flags.
* Use dh-autoreconf.
* Update Vcs-* fields.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# Helper functions for option handling.                    -*- Autoconf -*-
2
2
#
3
 
#   Copyright (C) 2004, 2005, 2007, 2008, 2009 Free Software Foundation,
4
 
#   Inc.
 
3
#   Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
5
4
#   Written by Gary V. Vaughan, 2004
6
5
#
7
6
# This file is free software; the Free Software Foundation gives
8
7
# unlimited permission to copy and/or distribute it, with or without
9
8
# modifications, as long as this notice is preserved.
10
9
 
11
 
# serial 7 ltoptions.m4
 
10
# serial 6 ltoptions.m4
12
11
 
13
12
# This is to help aclocal find these macros, as it can't see m4_define.
14
13
AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])
126
125
[enable_win32_dll=yes
127
126
 
128
127
case $host in
129
 
*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
 
128
*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
130
129
  AC_CHECK_TOOL(AS, as, false)
131
130
  AC_CHECK_TOOL(DLLTOOL, dlltool, false)
132
131
  AC_CHECK_TOOL(OBJDUMP, objdump, false)
134
133
esac
135
134
 
136
135
test -z "$AS" && AS=as
137
 
_LT_DECL([], [AS],      [1], [Assembler program])dnl
 
136
_LT_DECL([], [AS],      [0], [Assembler program])dnl
138
137
 
139
138
test -z "$DLLTOOL" && DLLTOOL=dlltool
140
 
_LT_DECL([], [DLLTOOL], [1], [DLL creation program])dnl
 
139
_LT_DECL([], [DLLTOOL], [0], [DLL creation program])dnl
141
140
 
142
141
test -z "$OBJDUMP" && OBJDUMP=objdump
143
 
_LT_DECL([], [OBJDUMP], [1], [Object dumper program])dnl
 
142
_LT_DECL([], [OBJDUMP], [0], [Object dumper program])dnl
144
143
])# win32-dll
145
144
 
146
145
AU_DEFUN([AC_LIBTOOL_WIN32_DLL],