test/configure

changeset 14
87fea7ab27de
parent 13
cdf8bf4549c4
child 15
971ac4f0f1df
equal deleted inserted replaced
13:cdf8bf4549c4 14:87fea7ab27de
371 if [ $? -ne 0 ]; then 371 if [ $? -ne 0 ]; then
372 DEPENDENCIES_FAILED="$DEPENDENCIES_FAILED openssl " 372 DEPENDENCIES_FAILED="$DEPENDENCIES_FAILED openssl "
373 ERROR=1 373 ERROR=1
374 fi 374 fi
375 375
376 # Features
377 if [ ! -z "$FEATURE_PG" ]; then
378 # check dependency
379 dependency_libpq
380 if [ $? -ne 0 ]; then
381 # "auto" features can fail and are just disabled in this case
382 if [ $FEATURE_PG != "auto" ]; then
383 DEPENDENCIES_FAILED="$DEPENDENCIES_FAILED libpq "
384 ERROR=1
385 fi
386 fi
387 fi
388
376 389
377 echo >> $TEMP_DIR/config.mk 390 echo >> $TEMP_DIR/config.mk
378 if [ ! -z "${CFLAGS}" ]; then 391 if [ ! -z "${CFLAGS}" ]; then
379 echo "CFLAGS += $CFLAGS" >> $TEMP_DIR/config.mk 392 echo "CFLAGS += $CFLAGS" >> $TEMP_DIR/config.mk
380 fi 393 fi

mercurial