I'm using the 3/16/00 as-pg 1.0.1 driver from this site:
https://openacs.org/sdm/one-package-release.tcl?release_id=8
I don't see a reference to FOR_ACS_USE in the makefile for this release, but when I add one to the CFLAGS, then make, I see this:
gcc -I/home/aolserver/include -Wall -fpic -shared -I/usr/local/pgsql/include -I/
home/aolserver/include -I-/usr/include -DFOR_ACS_USE -c postgres.c -o postgres.o
gcc -shared -I/usr/local/pgsql/include -I/home/aolserver/include -I-/usr/include -o postgres.so postgres.o /usr/local/pgsql/lib/libpq.so
After a make install, firing up AOLserver still yields the undefined symbol: Ns_DbAddColumnInfo message.