mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-22 04:22:29 +00:00
b55753bb21
2005-07-31 Manish Singh <yosh@gimp.org> * acinclude.m4 * m4macros/Makefile.am * m4macros/detectcflags.m4: new macro: GIMP_DETECT_CFLAGS; used to detect which of a set of compiler options a compiler supports. * configure.in: use the above for the altivec and -fno-strict-aliasing flags. Also, use it to detect the presence of -mmmx and -msse, since those are needed to compile even MMX/SSE assembly with gcc 4.0. Define MMX/SSE_EXTRA_CFLAGS. * app/composite/Makefile.am: compile each of the composite flavors into their own library, so we can use automake's per-target CFLAGS. Use MMX/SSE/ALTIVEC_EXTRA_CFLAGS in the appropriate places. Build libappcomposite.a out of the resulting objects. * app/composite/gimp-composite-3dnow.c * app/composite/gimp-composite-altivec.c * app/composite/gimp-composite-mmx.c * app/composite/gimp-composite-sse.c * app/composite/gimp-composite-sse2.c * app/composite/gimp-composite-vis.c * app/composite/make-installer.py: move the _init functions into the installers, so only actually mmx/sse/etc. code gets compiled under the appropriate CFLAGS. * app/composite/gimp-composite-3dnow-installer.c * app/composite/gimp-composite-altivec-installer.c * app/composite/gimp-composite-mmx-installer.c * app/composite/gimp-composite-sse-installer.c * app/composite/gimp-composite-sse2-installer.c * app/composite/gimp-composite-vis-installer.c: regenerated. * app/composite/gimp-composite.c: remove useless cpu-accel.h include.
30 lines
491 B
C
30 lines
491 B
C
/* THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT */
|
|
/* REGENERATE BY USING make-installer.py */
|
|
#include "config.h"
|
|
#include <glib-object.h>
|
|
#include <stdlib.h>
|
|
#include <stdio.h>
|
|
#include "base/base-types.h"
|
|
#include "gimp-composite.h"
|
|
|
|
#include "gimp-composite-vis.h"
|
|
|
|
|
|
gboolean
|
|
gimp_composite_vis_install (void)
|
|
{
|
|
/* nothing to do */
|
|
|
|
return (FALSE);
|
|
}
|
|
|
|
gboolean
|
|
gimp_composite_vis_init (void)
|
|
{
|
|
#if defined(COMPILE_VIS_IS_OKAY)
|
|
return (TRUE);
|
|
#else
|
|
return (FALSE);
|
|
#endif
|
|
}
|