CVS patchset: 2747
CVS date: 1999/01/22 22:20:44
# gotcha is that arguments, if present, should be on the same line as the
# %configure.
#
-%configure(C:) \
- %{-C:pushd %{-C*}} \
+%configure \
%{?__libtoolize:[ -f configure.in ] && %{__libtoolize} --copy --force} \
- CFLAGS="%{optflags}" ./configure %{_target} --prefix=%{_prefix} \
- %{-C:popd}
+ CFLAGS="%{optflags}" ./configure %{_target} --prefix=%{_prefix}
noinst_PROGRAMS = test1
test1_SOURCES = test1.c
-test1_LDADD = -lpopt
+test1_LDADD = $(lib_LTLIBRARIES)
include_HEADERS = popt.h
lib_LTLIBRARIES = libpopt.la
noinst_PROGRAMS = test1
test1_SOURCES = test1.c
-test1_LDADD = -lpopt
+test1_LDADD = $(lib_LTLIBRARIES)
include_HEADERS = popt.h
lib_LTLIBRARIES = libpopt.la
DEFS = @DEFS@ -I. -I$(srcdir) -I.
CPPFLAGS = @CPPFLAGS@
+LDFLAGS = @LDFLAGS@
LIBS = @LIBS@
libpopt_la_LDFLAGS =
libpopt_la_LIBADD =
PROGRAMS = $(noinst_PROGRAMS)
test1_OBJECTS = test1.o
-test1_DEPENDENCIES =
+test1_DEPENDENCIES = libpopt.la
test1_LDFLAGS =
CFLAGS = @CFLAGS@
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
# gotcha is that arguments, if present, should be on the same line as the
# %configure.
#
-%configure(C:) \
- %{-C:pushd %{-C*}} \
+%configure \
%{?__libtoolize:[ -f configure.in ] && %{__libtoolize} --copy --force} \
- CFLAGS="%{optflags}" ./configure %{_build} --prefix=%{_prefix} \
- %{-C:popd}
+ CFLAGS="%{optflags}" ./configure %{_target} --prefix=%{_prefix}