tests: work around strangeness in MSYS
[automake.git] / tests / depend3.test
blob1c7b2976971153211bf2309e2e0ca7ec0375a55c
1 #! /bin/sh
2 # Copyright (C) 1997, 1998, 2000, 2001, 2002, 2010, 2011 Free Software
3 # Foundation, Inc.
5 # This program is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 2, or (at your option)
8 # any later version.
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
15 # You should have received a copy of the GNU General Public License
16 # along with this program. If not, see <http://www.gnu.org/licenses/>.
18 # Test _DEPENDENCIES variable. From Lee Iverson.
20 . ./defs || Exit 1
22 cat >> configure.in << 'END'
23 AC_PROG_CC
24 AC_SUBST(DEPS)
25 END
27 cat > Makefile.am << 'END'
28 bin_PROGRAMS = TerraVision
30 TerraVision_SOURCES = \
31 AboutDialog.c Clock.c Dialogs.c DrawModel.c \
32 TsmWidget.c Gats.c GATSDialogs.c Model.c ModelAnim.c \
33 ScannedMap.c \
34 TerraVision.c TerraVisionAvs.c TerraVisionCAVE.c \
35 Texture.c ThreeDControl.c ThreeDPanel.c \
36 ThreeDWidget.c ThreeDWidget1.c TileManager.c \
37 TileRequester.c TwoDWidget.c \
38 Visible.c RequestGenerator.c X11FrameGrab.c \
39 matrix.c pixmaps.c xpmhash.c xpmread.c xcolor.c xv24to8.c
41 DEPS = @DEPS@
43 TerraVision_DEPENDENCIES = $(DEPS)
44 END
46 $ACLOCAL
47 $AUTOMAKE