Allow the CTYPE macros to be disabled, forcing procedure calls to be used
authorMatthew Dillon <dillon@dragonflybsd.org>
Mon, 27 Jun 2005 20:27:38 +0000 (20:27 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Mon, 27 Jun 2005 20:27:38 +0000 (20:27 +0000)
commit6e1e925c3671f13eb1fdc6279fa7bd6f9a2d2b5c
tree7897ee7103b521dfed8a7bf308fb416262a2bdf1
parentdf919c5db520673762e51df729e9183079388c77
Allow the CTYPE macros to be disabled, forcing procedure calls to be used
instead.

Disable the CTYPE macros in libskey, libutil, and libcrypt.  This allows
pre-1.3 programs linked against libc.so.3 to use the PAM modules in HEAD.
these modules indirectly reference libskey, libutil, and libcrypt, which
then fail to dynamically link against libc.so.3 due to references to
ctype globals that do not exist in libc.so.3.

This is a hack, I know, but we have to make upgrades as compatible as
possible with older programs.
include/ctype.h
lib/libcrypt/Makefile
lib/libskey/Makefile
lib/libutil/Makefile