changeset 16311:26401de08141

more thorough aalib test (needed for --enable-static)
author henry
date Fri, 26 Aug 2005 18:58:06 +0000
parents fb95057e370e
children c8e32af14a6f
files configure
diffstat 1 files changed, 10 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Fri Aug 26 17:40:02 2005 +0000
+++ b/configure	Fri Aug 26 18:58:06 2005 +0000
@@ -3893,7 +3893,16 @@
 if test "$_aa" = auto ; then
   cat > $TMPC << EOF
 #include <aalib.h>
-int main(void) { (void) aa_init(0, 0, 0); return 0; }
+extern struct aa_hardware_params aa_defparams;
+extern struct aa_renderparams aa_defrenderparams;
+int main(void) {
+aa_context *c;
+aa_renderparams *p;
+(void) aa_init(0, 0, 0);
+c = aa_autoinit(&aa_defparams);
+p = aa_getrenderparams();
+aa_autoinitkbd(c,0);
+return 0; }
 EOF
   _aa=no
   if cc_check -laa ; then