History

configure.ac : Check for pkg-config outside the if statement.

Erik de Castro Lopo committed 18 years ago

Commit 7cc81bb1 parent 73967ed1 file · +4 −0Browse files

Unified · Split

configure.ac+4−0
@@ -132,10 +132,14 @@ AC_DEFINE_UNQUOTED(CPU_CLIPS_NEGATIVE, ${ac_cv_c_clip_negative}, · 131 unmodified lines
132132
133133 #====================================================================================
134134 # Check for libsndfile which is required for the test and example programs.
135+
135136 AC_ARG_ENABLE(sndfile,
136137 AC_HELP_STRING([--disable-sndfile], [disable support for sndfile (default=autodetect)]),
137138 [ enable_sndfile=$enableval ], [ enable_sndfile=yes ])
138139
140+# Check for pkg-config outside the if statement.
141+PKG_PROG_PKG_CONFIG
142+
139143 if test "x$enable_sndfile" = "xyes"; then
140144 PKG_CHECK_MODULES(SNDFILE, sndfile >= 1.0.6, ac_cv_sndfile=1, ac_cv_sndfile=0)
141145 else

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t