pspp-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

help needed


From: Harry Thijssen
Subject: help needed
Date: Sun, 20 Mar 2016 11:55:56 +0100

Hi

What does this code from configure do?  It forces the switch of PSQL support to no. Why?
=================

else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lpq  $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */

/* Override any GCC internal prototype to avoid an error.
   Use char because int might match the return type of a GCC
   builtin and then its argument prototype would still apply.  */
#ifdef __cplusplus
extern "C"
#endif
char PQexec ();
int
main ()
{
return PQexec ();
  ;
  return 0;
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
  ac_cv_lib_pq_PQexec=yes
else
  ac_cv_lib_pq_PQexec=no
fi

=====================

Have fun

reply via email to

[Prev in Thread] Current Thread [Next in Thread]