1. 08 Nov, 2015 1 commit
    • Michael Natterer's avatar
      m4macros: make detectcflags.m4 more reliable · 990c91f2
      Michael Natterer authored
      GIMP_DETECT_CFLAGS: pass -Werror to the compiler when checking for
      flags, so the macro fails if passing a flag only warns but doesn't
      cause the compiler to fail. Before, the compiler would warn about the
      flag for each file compiled.
  2. 01 Aug, 2005 1 commit
    • Manish Singh's avatar
      acinclude.m4 m4macros/Makefile.am new macro: GIMP_DETECT_CFLAGS; used to · b55753bb
      Manish Singh authored
      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
              * 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.