configure

changeset 208
fedd0f957c31
parent 207
27f8a41882a7
child 209
a6d8181a8127
equal deleted inserted replaced
207:27f8a41882a7 208:fedd0f957c31
257 while true 257 while true
258 do 258 do
259 if [ -z "$PKG_CONFIG" ]; then 259 if [ -z "$PKG_CONFIG" ]; then
260 break 260 break
261 fi 261 fi
262 if ! $PKG_CONFIG libpq ; then 262 $PKG_CONFIG libpq
263 if [ $? -ne 0 ] ; then
263 break 264 break
264 fi 265 fi
265 CFLAGS="$CFLAGS `$PKG_CONFIG --cflags libpq`" 266 CFLAGS="$CFLAGS `$PKG_CONFIG --cflags libpq`"
266 LDFLAGS="$LDFLAGS `$PKG_CONFIG --libs libpq`" 267 LDFLAGS="$LDFLAGS `$PKG_CONFIG --libs libpq`"
267 echo yes 268 echo yes
278 while true 279 while true
279 do 280 do
280 if [ -z "$PKG_CONFIG" ]; then 281 if [ -z "$PKG_CONFIG" ]; then
281 break 282 break
282 fi 283 fi
283 if ! $PKG_CONFIG openssl ; then 284 $PKG_CONFIG openssl
285 if [ $? -ne 0 ] ; then
284 break 286 break
285 fi 287 fi
286 CFLAGS="$CFLAGS `$PKG_CONFIG --cflags openssl`" 288 CFLAGS="$CFLAGS `$PKG_CONFIG --cflags openssl`"
287 LDFLAGS="$LDFLAGS `$PKG_CONFIG --libs openssl`" 289 LDFLAGS="$LDFLAGS `$PKG_CONFIG --libs openssl`"
288 echo yes 290 echo yes
299 while true 301 while true
300 do 302 do
301 if [ -z "$PKG_CONFIG" ]; then 303 if [ -z "$PKG_CONFIG" ]; then
302 break 304 break
303 fi 305 fi
304 if ! $PKG_CONFIG libxml-2.0 ; then 306 $PKG_CONFIG libxml-2.0
307 if [ $? -ne 0 ] ; then
305 break 308 break
306 fi 309 fi
307 CFLAGS="$CFLAGS `$PKG_CONFIG --cflags libxml-2.0`" 310 CFLAGS="$CFLAGS `$PKG_CONFIG --cflags libxml-2.0`"
308 LDFLAGS="$LDFLAGS `$PKG_CONFIG --libs libxml-2.0`" 311 LDFLAGS="$LDFLAGS `$PKG_CONFIG --libs libxml-2.0`"
309 echo yes 312 echo yes

mercurial