Martin Costabel wrote:
> Dominique Dhumieres wrote:
> []
>> gcc -pedantic -Wall -Wstrict-prototypes -Wnested-externs -std=c89 
>> -U__STRICT_ANSI__ -U__VEC__ -Wall -c -I. -I. -I./../utils -I..  
>> -I/sw/lib/pango-ft219/include/pango-1.0 -I/sw/lib/fontconfig2/include 
>> -I/sw/lib/freetype219/include/freetype2 -I/sw/lib/freetype219/include 
>> -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/gtk-2.0 
>> -I/sw/include -I/sw/include/pixman-1 -I/sw/include/libpng12 
>> -I/sw/include/cairo -I/sw/include/atk-1.0 -I/sw/lib/gtk-2.0/include 
>> -I/sw/include/libxml2 -I/sw/include/libglade-2.0 -I/usr/X11R6/include 
>> -I/usr/X11/include -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include 
>> -I/sw/include/gtk-2.0 -I/sw/include -DHAVE_CONFIG_H -g -O2 -I/sw/include  
>> -I/usr/X11/include pdf2jpeg.m
>> pdf2jpeg.m:16:2: warning: #import is a GCC extension
>> pdf2jpeg.m: In function 'main':
>> pdf2jpeg.m:78: error: syntax error before '/' token
> 
> Try to put "OBJCC=gcc" into the ConfigureParams, in addition to the 
> SetCC line.

Doesn't work as intended, apparently; configure ignores this. The 
following 2 lines in xscreensave.info produce correct compiler lines for 
me; please try:

SetCC: gcc -U__VEC__
PatchScript: perl -pi -e 's|(OBJCC=).*|$1\"gcc -Wall\"|' configure

-- 
Martin







-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to