I just made distclean and then reconfigured with --with-openssl and I
get this in HEAD:
gcc -O2 -fno-strict-aliasing -g -Wall -Wmissing-prototypes
-Wmissing-declarations -I../../../src/interfaces/libpq
-I../../../src/include -DBINDIR=\"/home/chriskl/local/bin\" -c -o
common.o common.c -MMD
In file included from /usr/include/openssl/comp.h:5, from /usr/include/openssl/ssl.h:171,
from ../../../src/interfaces/libpq/libpq-fe.h:33, from pg_backup.h:30, from
pg_backup_archiver.h:58, from common.c:21:
/usr/include/openssl/crypto.h:358: syntax error before `free_func'
/usr/include/openssl/crypto.h:358: syntax error before `)'
/usr/include/openssl/crypto.h:363: syntax error before `free_func'
/usr/include/openssl/crypto.h:363: syntax error before `)'
In file included from /usr/include/openssl/rsa.h:62, from /usr/include/openssl/evp.h:134,
from /usr/include/openssl/x509.h:67, from /usr/include/openssl/ssl.h:177, from
../../../src/interfaces/libpq/libpq-fe.h:33, from pg_backup.h:30, from
pg_backup_archiver.h:58, from common.c:21:
/usr/include/openssl/asn1.h:802: syntax error before `free_func'
/usr/include/openssl/asn1.h:802: `d2i_ASN1_SET' declared as function
returning a function
/usr/include/openssl/asn1.h:803: syntax error before `int'
/usr/include/openssl/asn1.h:907: syntax error before `free_func'
/usr/include/openssl/asn1.h:907: syntax error before `)'
In file included from /usr/include/openssl/evp.h:145, from /usr/include/openssl/x509.h:67,
from /usr/include/openssl/ssl.h:177, from ../../../src/interfaces/libpq/libpq-fe.h:33,
from pg_backup.h:30, from pg_backup_archiver.h:58, from common.c:21:
/usr/include/openssl/objects.h:990: syntax error before `free_func'
/usr/include/openssl/objects.h:990: syntax error before `)'
gmake[3]: *** [common.o] Error 1
Is that something broken on my system???
Chris