Do only string replacement (w/o -C) in %configure for now.

CVS patchset: 2747
CVS date: 1999/01/22 22:20:44
This commit is contained in:
jbj 1999-01-22 22:20:44 +00:00
parent d635ea8d09
commit 6503ca3645
4 changed files with 8 additions and 11 deletions

View File

@ -113,8 +113,6 @@
# 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}

View File

@ -13,7 +13,7 @@ noinst_INCLUDES = findme.h poptint.h
noinst_PROGRAMS = test1
test1_SOURCES = test1.c
test1_LDADD = -lpopt
test1_LDADD = $(lib_LTLIBRARIES)
include_HEADERS = popt.h
lib_LTLIBRARIES = libpopt.la

View File

@ -89,7 +89,7 @@ noinst_INCLUDES = findme.h poptint.h
noinst_PROGRAMS = test1
test1_SOURCES = test1.c
test1_LDADD = -lpopt
test1_LDADD = $(lib_LTLIBRARIES)
include_HEADERS = popt.h
lib_LTLIBRARIES = libpopt.la
@ -106,6 +106,7 @@ LTLIBRARIES = $(lib_LTLIBRARIES)
DEFS = @DEFS@ -I. -I$(srcdir) -I.
CPPFLAGS = @CPPFLAGS@
LDFLAGS = @LDFLAGS@
LIBS = @LIBS@
libpopt_la_LDFLAGS =
libpopt_la_LIBADD =
@ -114,7 +115,7 @@ popthelp.lo
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)

View File

@ -113,8 +113,6 @@
# 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}