~ubuntu-branches/ubuntu/karmic/fltk1.1/karmic

« back to all changes in this revision

Viewing changes to fltk-config.in

  • Committer: Bazaar Package Importer
  • Author(s): Aaron M. Ucko
  • Date: 2005-05-22 13:57:06 UTC
  • mfrom: (2.1.1 hoary)
  • Revision ID: james.westby@ubuntu.com-20050522135706-mchag24yf42lu7bu
Tags: 1.1.6-5
* Revert previous change, which seems to have been ineffective for some
  reason, in favor of commenting out the problematic Makefile rule
  altogether.  (Closes: #310151.)
* debian/control: Go back to specifying the URL as part of the
  description rather than via a non-standard field that doesn't seem to
  have caught on.  (Closes: #310240.)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/bin/sh
2
2
#
3
 
# "$Id: fltk-config.in,v 1.12.2.20 2004/04/11 04:38:53 easysw Exp $"
 
3
# "$Id: fltk-config.in,v 1.12.2.26 2004/09/06 11:20:52 easysw Exp $"
4
4
5
5
# FLTK configuration utility.
6
6
#
55
55
LDFLAGS="@LDFLAGS@"
56
56
LDLIBS="@LIBS@"
57
57
 
 
58
if test -d $includedir/FL/images; then
 
59
        CFLAGS="-I$includedir/FL/images $CFLAGS"
 
60
        CXXFLAGS="-I$includedir/FL/images $CXXFLAGS"
 
61
fi
 
62
 
58
63
# libraries to link with:
59
64
LIBNAME="@LIBNAME@"
60
65
DSONAME="@DSONAME@"
176
181
 
177
182
# Calculate needed libraries
178
183
LDSTATIC="$libdir/libfltk.a $LDLIBS"
179
 
LDLIBS="$libs -lfltk$SHAREDSUFFIX $LDLIBS"
180
 
LIBS="$LIBS $libdir/libfltk.a"
 
184
LDLIBS="-lfltk$SHAREDSUFFIX $LDLIBS"
 
185
LIBS="$libdir/libfltk.a"
181
186
 
182
187
if test x$use_forms = xyes; then
183
188
    LDLIBS="-lfltk_forms$SHAREDSUFFIX $LDLIBS"
194
199
    LDSTATIC="$libdir/libfltk_images.a $IMAGELIBS $LDSTATIC"
195
200
fi
196
201
 
197
 
LDLIBS="$DSOLINK $LDFLAGS $LDLIBS"
198
 
LDSTATIC="$LDFLAGS $LDSTATIC"
 
202
LDLIBS="$DSOLINK $LDFLAGS $libs $LDLIBS"
 
203
LDSTATIC="$LDFLAGS $libs $LDSTATIC"
199
204
 
200
205
# Answer to user requests
201
206
if test -n "$echo_help"; then
266
271
fi
267
272
 
268
273
#
269
 
# End of "$Id: fltk-config.in,v 1.12.2.20 2004/04/11 04:38:53 easysw Exp $".
 
274
# End of "$Id: fltk-config.in,v 1.12.2.26 2004/09/06 11:20:52 easysw Exp $".
270
275
#