Constantin Kaplinsky | 0ca4425 | 2008-09-28 05:08:48 +0000 | [diff] [blame] | 1 | # -*- Autoconf -*- |
| 2 | # Process this file with autoconf to produce a configure script. |
| 3 | |
DRC | bf0fab9 | 2010-02-12 22:22:01 +0000 | [diff] [blame] | 4 | AC_PREREQ([2.56]) |
DRC | 7ef2616 | 2013-09-19 09:36:03 +0000 | [diff] [blame] | 5 | AC_INIT([libjpeg-turbo], [1.3.1]) |
DRC | 079b434 | 2010-02-15 11:32:23 +0000 | [diff] [blame] | 6 | BUILD=`date +%Y%m%d` |
Constantin Kaplinsky | 0ca4425 | 2008-09-28 05:08:48 +0000 | [diff] [blame] | 7 | |
| 8 | AM_INIT_AUTOMAKE([-Wall foreign dist-bzip2]) |
DRC | 8ff1f25 | 2010-02-15 11:08:57 +0000 | [diff] [blame] | 9 | AC_PREFIX_DEFAULT(/opt/libjpeg-turbo) |
Constantin Kaplinsky | 0ca4425 | 2008-09-28 05:08:48 +0000 | [diff] [blame] | 10 | |
| 11 | # Always build with prototypes |
| 12 | AC_DEFINE([HAVE_PROTOTYPES], 1, [Define if your compiler supports prototypes]) |
Constantin Kaplinsky | 0ca4425 | 2008-09-28 05:08:48 +0000 | [diff] [blame] | 13 | |
DRC | c7e10b2 | 2014-03-21 08:36:06 +0000 | [diff] [blame^] | 14 | m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) |
| 15 | |
Constantin Kaplinsky | 0ca4425 | 2008-09-28 05:08:48 +0000 | [diff] [blame] | 16 | # Checks for programs. |
DRC | e7b699d | 2010-02-14 07:39:07 +0000 | [diff] [blame] | 17 | SAVED_CFLAGS=${CFLAGS} |
DRC | b4a50ce | 2011-02-26 21:07:50 +0000 | [diff] [blame] | 18 | SAVED_CPPFLAGS=${CPPFLAGS} |
Pierre Ossman | 2ae181c | 2009-03-09 13:21:27 +0000 | [diff] [blame] | 19 | AC_PROG_CPP |
Constantin Kaplinsky | 0ca4425 | 2008-09-28 05:08:48 +0000 | [diff] [blame] | 20 | AC_PROG_CC |
DRC | ffa5e59 | 2014-02-28 05:26:24 +0000 | [diff] [blame] | 21 | m4_ifdef([AM_PROG_AR], [AM_PROG_AR]) |
DRC | 321e068 | 2011-05-03 08:47:43 +0000 | [diff] [blame] | 22 | AM_PROG_AS |
DRC | ffa5e59 | 2014-02-28 05:26:24 +0000 | [diff] [blame] | 23 | AM_PROG_CC_C_O |
Constantin Kaplinsky | 0ca4425 | 2008-09-28 05:08:48 +0000 | [diff] [blame] | 24 | AC_PROG_INSTALL |
| 25 | AC_PROG_LIBTOOL |
| 26 | AC_PROG_LN_S |
| 27 | |
DRC | 764e1e2 | 2013-04-19 04:25:14 +0000 | [diff] [blame] | 28 | # When the prefix is /opt/libjpeg-turbo, we assume that an "official" binary is |
| 29 | # being created, and thus we install things into specific locations. |
| 30 | |
| 31 | old_prefix=${prefix} |
| 32 | if test "x$prefix" = "xNONE" -a "x$ac_default_prefix" != "x"; then |
| 33 | prefix=$ac_default_prefix |
| 34 | fi |
| 35 | DATADIR=`eval echo ${datadir}` |
| 36 | DATADIR=`eval echo $DATADIR` |
| 37 | if test "$DATADIR" = "/opt/libjpeg-turbo/share"; then |
| 38 | datadir='${prefix}' |
| 39 | fi |
DRC | 7175e51 | 2013-04-23 22:29:00 +0000 | [diff] [blame] | 40 | DATADIR=`eval echo ${datarootdir}` |
| 41 | DATADIR=`eval echo $DATADIR` |
| 42 | if test "$DATADIR" = "/opt/libjpeg-turbo/share"; then |
| 43 | datarootdir='${prefix}' |
| 44 | fi |
DRC | 764e1e2 | 2013-04-19 04:25:14 +0000 | [diff] [blame] | 45 | |
| 46 | old_exec_prefix=${exec_prefix} |
| 47 | if test "x$exec_prefix" = "xNONE"; then |
| 48 | exec_prefix=${prefix} |
| 49 | fi |
| 50 | |
| 51 | if test "x${libdir}" = 'x${exec_prefix}/lib' -o "x${libdir}" = 'x${prefix}/lib'; then |
| 52 | LIBDIR=`eval echo ${libdir}` |
| 53 | LIBDIR=`eval echo $LIBDIR` |
| 54 | if test "$LIBDIR" = "/opt/libjpeg-turbo/lib"; then |
| 55 | case $host_os in |
| 56 | darwin*) |
| 57 | ;; |
| 58 | *) |
DRC | c32e0c2 | 2013-08-11 22:57:19 +0000 | [diff] [blame] | 59 | AC_CHECK_SIZEOF(long) |
| 60 | if test "${ac_cv_sizeof_long}" = "8"; then |
| 61 | libdir='${exec_prefix}/lib64' |
| 62 | elif test "${ac_cv_sizeof_long}" = "4"; then |
| 63 | libdir='${exec_prefix}/lib32' |
| 64 | fi |
DRC | 764e1e2 | 2013-04-19 04:25:14 +0000 | [diff] [blame] | 65 | ;; |
| 66 | esac |
| 67 | fi |
| 68 | fi |
| 69 | exec_prefix=${old_exec_prefix} |
| 70 | prefix=${old_prefix} |
| 71 | |
DRC | bdb1288 | 2010-08-21 21:14:17 +0000 | [diff] [blame] | 72 | # Check whether compiler supports pointers to undefined structures |
| 73 | AC_MSG_CHECKING(whether compiler supports pointers to undefined structures) |
| 74 | AC_TRY_COMPILE([ typedef struct undefined_structure * undef_struct_ptr; ], , |
DRC | 0ddff3b | 2013-04-11 05:17:53 +0000 | [diff] [blame] | 75 | AC_MSG_RESULT(yes), |
| 76 | [AC_MSG_RESULT(no) |
| 77 | AC_DEFINE([INCOMPLETE_TYPES_BROKEN], [1], |
| 78 | [Compiler does not support pointers to undefined structures.])]) |
DRC | bdb1288 | 2010-08-21 21:14:17 +0000 | [diff] [blame] | 79 | |
DRC | e7b699d | 2010-02-14 07:39:07 +0000 | [diff] [blame] | 80 | if test "x${GCC}" = "xyes"; then |
| 81 | if test "x${SAVED_CFLAGS}" = "x"; then |
| 82 | CFLAGS=-O3 |
| 83 | fi |
DRC | b4a50ce | 2011-02-26 21:07:50 +0000 | [diff] [blame] | 84 | if test "x${SAVED_CPPFLAGS}" = "x"; then |
| 85 | CPPFLAGS=-Wall |
| 86 | fi |
DRC | e7b699d | 2010-02-14 07:39:07 +0000 | [diff] [blame] | 87 | fi |
| 88 | |
DRC | 1e2f298 | 2010-02-16 22:35:25 +0000 | [diff] [blame] | 89 | AC_CHECK_DECL([__SUNPRO_C], [SUNCC="yes"], [SUNCC="no"]) |
| 90 | if test "x${SUNCC}" = "xyes"; then |
| 91 | if test "x${SAVED_CFLAGS}" = "x"; then |
| 92 | CFLAGS=-xO5 |
| 93 | fi |
DRC | 1e2f298 | 2010-02-16 22:35:25 +0000 | [diff] [blame] | 94 | fi |
| 95 | |
Constantin Kaplinsky | 0ca4425 | 2008-09-28 05:08:48 +0000 | [diff] [blame] | 96 | # Checks for libraries. |
| 97 | |
| 98 | # Checks for header files. |
| 99 | AC_HEADER_STDC |
| 100 | AC_CHECK_HEADERS([stddef.h stdlib.h string.h]) |
DRC | 0ddff3b | 2013-04-11 05:17:53 +0000 | [diff] [blame] | 101 | AC_CHECK_HEADER([sys/types.h], |
| 102 | AC_DEFINE([NEED_SYS_TYPES_H], 1, [Define if you have sys/types.h])) |
Constantin Kaplinsky | 0ca4425 | 2008-09-28 05:08:48 +0000 | [diff] [blame] | 103 | |
| 104 | # Checks for typedefs, structures, and compiler characteristics. |
| 105 | AC_C_CONST |
| 106 | AC_C_CHAR_UNSIGNED |
| 107 | AC_C_INLINE |
| 108 | AC_TYPE_SIZE_T |
| 109 | AC_CHECK_TYPES([unsigned char, unsigned short]) |
| 110 | |
| 111 | AC_MSG_CHECKING([if right shift is signed]) |
| 112 | AC_TRY_RUN( |
DRC | 0ddff3b | 2013-04-11 05:17:53 +0000 | [diff] [blame] | 113 | [#include <stdio.h> |
| 114 | int is_shifting_signed (long arg) { |
| 115 | long res = arg >> 4; |
Constantin Kaplinsky | 0ca4425 | 2008-09-28 05:08:48 +0000 | [diff] [blame] | 116 | |
DRC | 0ddff3b | 2013-04-11 05:17:53 +0000 | [diff] [blame] | 117 | if (res == -0x7F7E80CL) |
| 118 | return 1; /* right shift is signed */ |
Constantin Kaplinsky | 0ca4425 | 2008-09-28 05:08:48 +0000 | [diff] [blame] | 119 | |
DRC | 0ddff3b | 2013-04-11 05:17:53 +0000 | [diff] [blame] | 120 | /* see if unsigned-shift hack will fix it. */ |
| 121 | /* we can't just test exact value since it depends on width of long... */ |
| 122 | res |= (~0L) << (32-4); |
| 123 | if (res == -0x7F7E80CL) |
| 124 | return 0; /* right shift is unsigned */ |
Constantin Kaplinsky | 0ca4425 | 2008-09-28 05:08:48 +0000 | [diff] [blame] | 125 | |
DRC | 0ddff3b | 2013-04-11 05:17:53 +0000 | [diff] [blame] | 126 | printf("Right shift isn't acting as I expect it to.\n"); |
| 127 | printf("I fear the JPEG software will not work at all.\n\n"); |
| 128 | return 0; /* try it with unsigned anyway */ |
| 129 | } |
| 130 | int main (void) { |
| 131 | exit(is_shifting_signed(-0x7F7E80B1L)); |
| 132 | }], |
| 133 | [AC_MSG_RESULT(no) |
| 134 | AC_DEFINE([RIGHT_SHIFT_IS_UNSIGNED], 1, [Define if shift is unsigned])], |
| 135 | [AC_MSG_RESULT(yes)], |
| 136 | [AC_MSG_RESULT(Assuming that right shift is signed on target machine.)]) |
Constantin Kaplinsky | 0ca4425 | 2008-09-28 05:08:48 +0000 | [diff] [blame] | 137 | |
| 138 | # test whether global names are unique to at least 15 chars |
| 139 | AC_MSG_CHECKING([for short external names]) |
| 140 | AC_TRY_LINK( |
DRC | 0ddff3b | 2013-04-11 05:17:53 +0000 | [diff] [blame] | 141 | [int possibly_duplicate_function () { return 0; } |
| 142 | int possibly_dupli_function () { return 1; }], [ ], |
| 143 | [AC_MSG_RESULT(ok)], |
| 144 | [AC_MSG_RESULT(short) |
| 145 | AC_DEFINE([NEED_SHORT_EXTERNAL_NAMES], 1, |
| 146 | [Define if you need short function names])]) |
Constantin Kaplinsky | 0ca4425 | 2008-09-28 05:08:48 +0000 | [diff] [blame] | 147 | |
| 148 | # Checks for library functions. |
Constantin Kaplinsky | 0ca4425 | 2008-09-28 05:08:48 +0000 | [diff] [blame] | 149 | AC_CHECK_FUNCS([memset memcpy], [], |
DRC | 0ddff3b | 2013-04-11 05:17:53 +0000 | [diff] [blame] | 150 | [AC_DEFINE([NEED_BSD_STRINGS], 1, |
| 151 | [Define if you have BSD-like bzero and bcopy])]) |
Constantin Kaplinsky | 0ca4425 | 2008-09-28 05:08:48 +0000 | [diff] [blame] | 152 | |
DRC | 1f80a10 | 2010-10-18 00:15:31 +0000 | [diff] [blame] | 153 | AC_MSG_CHECKING([libjpeg API version]) |
| 154 | AC_ARG_VAR(JPEG_LIB_VERSION, [libjpeg API version (62, 70, or 80)]) |
| 155 | if test "x$JPEG_LIB_VERSION" = "x"; then |
DRC | 0ddff3b | 2013-04-11 05:17:53 +0000 | [diff] [blame] | 156 | AC_ARG_WITH([jpeg7], |
| 157 | AC_HELP_STRING([--with-jpeg7], |
| 158 | [Emulate libjpeg v7 API/ABI (this makes libjpeg-turbo backward incompatible with libjpeg v6b.)])) |
| 159 | AC_ARG_WITH([jpeg8], |
| 160 | AC_HELP_STRING([--with-jpeg8], |
| 161 | [Emulate libjpeg v8 API/ABI (this makes libjpeg-turbo backward incompatible with libjpeg v6b.)])) |
| 162 | if test "x${with_jpeg8}" = "xyes"; then |
| 163 | JPEG_LIB_VERSION=80 |
| 164 | else |
| 165 | if test "x${with_jpeg7}" = "xyes"; then |
| 166 | JPEG_LIB_VERSION=70 |
DRC | 36a6eec | 2010-10-08 08:05:44 +0000 | [diff] [blame] | 167 | else |
DRC | 0ddff3b | 2013-04-11 05:17:53 +0000 | [diff] [blame] | 168 | JPEG_LIB_VERSION=62 |
DRC | 36a6eec | 2010-10-08 08:05:44 +0000 | [diff] [blame] | 169 | fi |
DRC | 0ddff3b | 2013-04-11 05:17:53 +0000 | [diff] [blame] | 170 | fi |
DRC | 36a6eec | 2010-10-08 08:05:44 +0000 | [diff] [blame] | 171 | fi |
DRC | 1f80a10 | 2010-10-18 00:15:31 +0000 | [diff] [blame] | 172 | JPEG_LIB_VERSION_DECIMAL=`expr $JPEG_LIB_VERSION / 10`.`expr $JPEG_LIB_VERSION % 10` |
DRC | 8515d3d | 2010-10-19 06:38:57 +0000 | [diff] [blame] | 173 | AC_SUBST(JPEG_LIB_VERSION_DECIMAL) |
DRC | 1f80a10 | 2010-10-18 00:15:31 +0000 | [diff] [blame] | 174 | AC_MSG_RESULT([$JPEG_LIB_VERSION_DECIMAL]) |
DRC | 0ddff3b | 2013-04-11 05:17:53 +0000 | [diff] [blame] | 175 | AC_DEFINE_UNQUOTED(JPEG_LIB_VERSION, [$JPEG_LIB_VERSION], |
| 176 | [libjpeg API version]) |
DRC | 1f80a10 | 2010-10-18 00:15:31 +0000 | [diff] [blame] | 177 | |
DRC | 0ddff3b | 2013-04-11 05:17:53 +0000 | [diff] [blame] | 178 | AC_ARG_VAR(SO_MAJOR_VERSION, |
| 179 | [Major version of the libjpeg-turbo shared library (default is determined by the API version)]) |
| 180 | AC_ARG_VAR(SO_MINOR_VERSION, |
| 181 | [Minor version of the libjpeg-turbo shared library (default is determined by the API version)]) |
DRC | 1f80a10 | 2010-10-18 00:15:31 +0000 | [diff] [blame] | 182 | if test "x$SO_MAJOR_VERSION" = "x"; then |
DRC | 0ddff3b | 2013-04-11 05:17:53 +0000 | [diff] [blame] | 183 | case "$JPEG_LIB_VERSION" in |
| 184 | 62) SO_MAJOR_VERSION=$JPEG_LIB_VERSION ;; |
| 185 | *) SO_MAJOR_VERSION=`expr $JPEG_LIB_VERSION / 10` ;; |
| 186 | esac |
DRC | 1f80a10 | 2010-10-18 00:15:31 +0000 | [diff] [blame] | 187 | fi |
| 188 | if test "x$SO_MINOR_VERSION" = "x"; then |
DRC | 0ddff3b | 2013-04-11 05:17:53 +0000 | [diff] [blame] | 189 | case "$JPEG_LIB_VERSION" in |
| 190 | 80) SO_MINOR_VERSION=2 ;; |
| 191 | *) SO_MINOR_VERSION=0 ;; |
| 192 | esac |
DRC | 1f80a10 | 2010-10-18 00:15:31 +0000 | [diff] [blame] | 193 | fi |
DRC | ab70623 | 2013-01-18 23:42:31 +0000 | [diff] [blame] | 194 | |
DRC | 6da61db | 2013-01-19 01:06:46 +0000 | [diff] [blame] | 195 | RPM_CONFIG_ARGS= |
| 196 | |
DRC | ab70623 | 2013-01-18 23:42:31 +0000 | [diff] [blame] | 197 | # Memory source/destination managers |
| 198 | SO_AGE=0 |
| 199 | MEM_SRCDST_FUNCTIONS= |
| 200 | if test "x${with_jpeg8}" != "xyes"; then |
| 201 | AC_MSG_CHECKING([whether to include in-memory source/destination managers]) |
| 202 | AC_ARG_WITH([mem-srcdst], |
DRC | 0ddff3b | 2013-04-11 05:17:53 +0000 | [diff] [blame] | 203 | AC_HELP_STRING([--without-mem-srcdst], |
| 204 | [Do not include in-memory source/destination manager functions when emulating the libjpeg v6b or v7 API/ABI])) |
DRC | ab70623 | 2013-01-18 23:42:31 +0000 | [diff] [blame] | 205 | if test "x$with_mem_srcdst" != "xno"; then |
DRC | 0ddff3b | 2013-04-11 05:17:53 +0000 | [diff] [blame] | 206 | AC_MSG_RESULT(yes) |
| 207 | AC_DEFINE([MEM_SRCDST_SUPPORTED], [1], |
| 208 | [Support in-memory source/destination managers]) |
| 209 | SO_AGE=1 |
| 210 | MEM_SRCDST_FUNCTIONS="global: jpeg_mem_dest; jpeg_mem_src;"; |
DRC | ab70623 | 2013-01-18 23:42:31 +0000 | [diff] [blame] | 211 | else |
DRC | 0ddff3b | 2013-04-11 05:17:53 +0000 | [diff] [blame] | 212 | AC_MSG_RESULT(no) |
| 213 | RPM_CONFIG_ARGS="$RPM_CONFIG_ARGS --without-mem-srcdst" |
DRC | ab70623 | 2013-01-18 23:42:31 +0000 | [diff] [blame] | 214 | fi |
| 215 | fi |
| 216 | |
| 217 | AC_MSG_CHECKING([libjpeg shared library version]) |
| 218 | AC_MSG_RESULT([$SO_MAJOR_VERSION.$SO_AGE.$SO_MINOR_VERSION]) |
DRC | 6da61db | 2013-01-19 01:06:46 +0000 | [diff] [blame] | 219 | LIBTOOL_CURRENT=`expr $SO_MAJOR_VERSION + $SO_AGE` |
| 220 | AC_SUBST(LIBTOOL_CURRENT) |
DRC | 1f80a10 | 2010-10-18 00:15:31 +0000 | [diff] [blame] | 221 | AC_SUBST(SO_MAJOR_VERSION) |
| 222 | AC_SUBST(SO_MINOR_VERSION) |
DRC | ab70623 | 2013-01-18 23:42:31 +0000 | [diff] [blame] | 223 | AC_SUBST(SO_AGE) |
| 224 | AC_SUBST(MEM_SRCDST_FUNCTIONS) |
DRC | 36a6eec | 2010-10-08 08:05:44 +0000 | [diff] [blame] | 225 | |
DRC | ab64b62 | 2011-12-18 16:29:35 +0000 | [diff] [blame] | 226 | AC_DEFINE_UNQUOTED(LIBJPEG_TURBO_VERSION, [$VERSION], [libjpeg-turbo version]) |
| 227 | |
DRC | 7a0478e | 2010-11-07 19:12:30 +0000 | [diff] [blame] | 228 | VERSION_SCRIPT=yes |
| 229 | AC_ARG_ENABLE([ld-version-script], |
| 230 | AS_HELP_STRING([--disable-ld-version-script], |
| 231 | [Disable linker version script for libjpeg-turbo (default is to use linker version script if the linker supports it)]), |
DRC | 0ddff3b | 2013-04-11 05:17:53 +0000 | [diff] [blame] | 232 | [VERSION_SCRIPT=$enableval], []) |
DRC | 8515d3d | 2010-10-19 06:38:57 +0000 | [diff] [blame] | 233 | |
| 234 | AC_MSG_CHECKING([whether the linker supports version scripts]) |
| 235 | SAVED_LDFLAGS="$LDFLAGS" |
| 236 | LDFLAGS="$LDFLAGS -Wl,--version-script,conftest.map" |
| 237 | cat > conftest.map <<EOF |
| 238 | VERS_1 { |
| 239 | global: *; |
| 240 | }; |
| 241 | EOF |
DRC | ffa5e59 | 2014-02-28 05:26:24 +0000 | [diff] [blame] | 242 | AC_LINK_IFELSE([AC_LANG_PROGRAM([], [])], |
DRC | 0ddff3b | 2013-04-11 05:17:53 +0000 | [diff] [blame] | 243 | [VERSION_SCRIPT_FLAG=-Wl,--version-script,; |
| 244 | AC_MSG_RESULT([yes (GNU style)])], |
| 245 | []) |
DRC | 8515d3d | 2010-10-19 06:38:57 +0000 | [diff] [blame] | 246 | if test "x$VERSION_SCRIPT_FLAG" = "x"; then |
| 247 | LDFLAGS="$SAVED_LDFLAGS -Wl,-M,conftest.map" |
DRC | ffa5e59 | 2014-02-28 05:26:24 +0000 | [diff] [blame] | 248 | AC_LINK_IFELSE([AC_LANG_PROGRAM([], [])], |
DRC | 0ddff3b | 2013-04-11 05:17:53 +0000 | [diff] [blame] | 249 | [VERSION_SCRIPT_FLAG=-Wl,-M,; |
| 250 | AC_MSG_RESULT([yes (Sun style)])], |
| 251 | []) |
DRC | 8515d3d | 2010-10-19 06:38:57 +0000 | [diff] [blame] | 252 | fi |
| 253 | if test "x$VERSION_SCRIPT_FLAG" = "x"; then |
| 254 | VERSION_SCRIPT=no |
| 255 | AC_MSG_RESULT(no) |
| 256 | fi |
DRC | 8515d3d | 2010-10-19 06:38:57 +0000 | [diff] [blame] | 257 | LDFLAGS="$SAVED_LDFLAGS" |
| 258 | |
DRC | 9fa9559 | 2011-02-25 00:23:44 +0000 | [diff] [blame] | 259 | AC_MSG_CHECKING([whether to use version script when building libjpeg-turbo]) |
DRC | 8515d3d | 2010-10-19 06:38:57 +0000 | [diff] [blame] | 260 | AC_MSG_RESULT($VERSION_SCRIPT) |
| 261 | |
| 262 | AM_CONDITIONAL(VERSION_SCRIPT, test "x$VERSION_SCRIPT" = "xyes") |
DRC | 8515d3d | 2010-10-19 06:38:57 +0000 | [diff] [blame] | 263 | AC_SUBST(VERSION_SCRIPT_FLAG) |
DRC | 8515d3d | 2010-10-19 06:38:57 +0000 | [diff] [blame] | 264 | |
DRC | b4570bb | 2011-09-07 06:31:00 +0000 | [diff] [blame] | 265 | # Check for non-broken inline under various spellings |
| 266 | AC_MSG_CHECKING(for inline) |
| 267 | ljt_cv_inline="" |
| 268 | AC_TRY_COMPILE(, [} __attribute__((always_inline)) int foo() { return 0; } |
| 269 | int bar() { return foo();], ljt_cv_inline="__attribute__((always_inline))", |
| 270 | AC_TRY_COMPILE(, [} __inline__ int foo() { return 0; } |
| 271 | int bar() { return foo();], ljt_cv_inline="__inline__", |
| 272 | AC_TRY_COMPILE(, [} __inline int foo() { return 0; } |
| 273 | int bar() { return foo();], ljt_cv_inline="__inline", |
| 274 | AC_TRY_COMPILE(, [} inline int foo() { return 0; } |
| 275 | int bar() { return foo();], ljt_cv_inline="inline")))) |
| 276 | AC_MSG_RESULT($ljt_cv_inline) |
| 277 | AC_DEFINE_UNQUOTED([INLINE],[$ljt_cv_inline],[How to obtain function inlining.]) |
| 278 | |
DRC | 211d1e7 | 2013-01-13 11:25:20 +0000 | [diff] [blame] | 279 | # Arithmetic coding support |
DRC | 990e28d | 2011-01-04 21:40:11 +0000 | [diff] [blame] | 280 | AC_MSG_CHECKING([whether to include arithmetic encoding support]) |
DRC | e372004 | 2010-11-23 06:50:14 +0000 | [diff] [blame] | 281 | AC_ARG_WITH([arith-enc], |
DRC | 0ddff3b | 2013-04-11 05:17:53 +0000 | [diff] [blame] | 282 | AC_HELP_STRING([--without-arith-enc], |
| 283 | [Do not include arithmetic encoding support])) |
DRC | e372004 | 2010-11-23 06:50:14 +0000 | [diff] [blame] | 284 | if test "x$with_arith_enc" = "xno"; then |
DRC | 0ddff3b | 2013-04-11 05:17:53 +0000 | [diff] [blame] | 285 | AC_MSG_RESULT(no) |
| 286 | RPM_CONFIG_ARGS="$RPM_CONFIG_ARGS --without-arith-enc" |
DRC | e372004 | 2010-11-23 06:50:14 +0000 | [diff] [blame] | 287 | else |
DRC | 0ddff3b | 2013-04-11 05:17:53 +0000 | [diff] [blame] | 288 | AC_DEFINE([C_ARITH_CODING_SUPPORTED], [1], [Support arithmetic encoding]) |
| 289 | AC_MSG_RESULT(yes) |
DRC | e372004 | 2010-11-23 06:50:14 +0000 | [diff] [blame] | 290 | fi |
| 291 | AM_CONDITIONAL([WITH_ARITH_ENC], [test "x$with_arith_enc" != "xno"]) |
| 292 | |
DRC | 990e28d | 2011-01-04 21:40:11 +0000 | [diff] [blame] | 293 | AC_MSG_CHECKING([whether to include arithmetic decoding support]) |
DRC | e372004 | 2010-11-23 06:50:14 +0000 | [diff] [blame] | 294 | AC_ARG_WITH([arith-dec], |
DRC | 0ddff3b | 2013-04-11 05:17:53 +0000 | [diff] [blame] | 295 | AC_HELP_STRING([--without-arith-dec], |
| 296 | [Do not include arithmetic decoding support])) |
DRC | e372004 | 2010-11-23 06:50:14 +0000 | [diff] [blame] | 297 | if test "x$with_arith_dec" = "xno"; then |
DRC | 0ddff3b | 2013-04-11 05:17:53 +0000 | [diff] [blame] | 298 | AC_MSG_RESULT(no) |
| 299 | RPM_CONFIG_ARGS="$RPM_CONFIG_ARGS --without-arith-dec" |
DRC | e372004 | 2010-11-23 06:50:14 +0000 | [diff] [blame] | 300 | else |
DRC | 0ddff3b | 2013-04-11 05:17:53 +0000 | [diff] [blame] | 301 | AC_DEFINE([D_ARITH_CODING_SUPPORTED], [1], [Support arithmetic decoding]) |
| 302 | AC_MSG_RESULT(yes) |
DRC | e372004 | 2010-11-23 06:50:14 +0000 | [diff] [blame] | 303 | fi |
| 304 | AM_CONDITIONAL([WITH_ARITH_DEC], [test "x$with_arith_dec" != "xno"]) |
| 305 | |
DRC | 0ddff3b | 2013-04-11 05:17:53 +0000 | [diff] [blame] | 306 | AM_CONDITIONAL([WITH_ARITH], |
| 307 | [test "x$with_arith_dec" != "xno" -o "x$with_arith_enc" != "xno"]) |
DRC | e372004 | 2010-11-23 06:50:14 +0000 | [diff] [blame] | 308 | |
DRC | 211d1e7 | 2013-01-13 11:25:20 +0000 | [diff] [blame] | 309 | # TurboJPEG support |
DRC | 5039d73 | 2013-01-21 23:42:12 +0000 | [diff] [blame] | 310 | AC_MSG_CHECKING([whether to build TurboJPEG C wrapper]) |
DRC | 211d1e7 | 2013-01-13 11:25:20 +0000 | [diff] [blame] | 311 | AC_ARG_WITH([turbojpeg], |
DRC | 0ddff3b | 2013-04-11 05:17:53 +0000 | [diff] [blame] | 312 | AC_HELP_STRING([--without-turbojpeg], |
| 313 | [Do not include the TurboJPEG wrapper library and associated test programs])) |
DRC | 211d1e7 | 2013-01-13 11:25:20 +0000 | [diff] [blame] | 314 | if test "x$with_turbojpeg" = "xno"; then |
DRC | 0ddff3b | 2013-04-11 05:17:53 +0000 | [diff] [blame] | 315 | AC_MSG_RESULT(no) |
| 316 | RPM_CONFIG_ARGS="$RPM_CONFIG_ARGS --without-turbojpeg" |
DRC | 211d1e7 | 2013-01-13 11:25:20 +0000 | [diff] [blame] | 317 | else |
DRC | 0ddff3b | 2013-04-11 05:17:53 +0000 | [diff] [blame] | 318 | AC_MSG_RESULT(yes) |
DRC | 211d1e7 | 2013-01-13 11:25:20 +0000 | [diff] [blame] | 319 | fi |
| 320 | |
| 321 | # Java support |
DRC | f2602ce | 2011-04-01 00:20:33 +0000 | [diff] [blame] | 322 | AC_ARG_VAR(JAVAC, [Java compiler command (default: javac)]) |
| 323 | if test "x$JAVAC" = "x"; then |
| 324 | JAVAC=javac |
| 325 | fi |
| 326 | AC_SUBST(JAVAC) |
| 327 | AC_ARG_VAR(JAVACFLAGS, [Java compiler flags]) |
| 328 | AC_SUBST(JAVACFLAGS) |
| 329 | AC_ARG_VAR(JAR, [Java archive command (default: jar)]) |
| 330 | if test "x$JAR" = "x"; then |
| 331 | JAR=jar |
| 332 | fi |
| 333 | AC_SUBST(JAR) |
| 334 | AC_ARG_VAR(JAVA, [Java runtime command (default: java)]) |
| 335 | if test "x$JAVA" = "x"; then |
| 336 | JAVA=java |
| 337 | fi |
| 338 | AC_SUBST(JAVA) |
DRC | 0ddff3b | 2013-04-11 05:17:53 +0000 | [diff] [blame] | 339 | AC_ARG_VAR(JNI_CFLAGS, |
| 340 | [C compiler flags needed to include jni.h (default: -I/System/Library/Frameworks/JavaVM.framework/Headers on OS X, '-I/usr/java/include -I/usr/java/include/solaris' on Solaris, and '-I/usr/java/default/include -I/usr/java/default/include/linux' on Linux)]) |
DRC | 063ab49 | 2011-02-04 22:16:41 +0000 | [diff] [blame] | 341 | |
DRC | 5039d73 | 2013-01-21 23:42:12 +0000 | [diff] [blame] | 342 | AC_MSG_CHECKING([whether to build TurboJPEG Java wrapper]) |
DRC | f2602ce | 2011-04-01 00:20:33 +0000 | [diff] [blame] | 343 | AC_ARG_WITH([java], |
DRC | 0ddff3b | 2013-04-11 05:17:53 +0000 | [diff] [blame] | 344 | AC_HELP_STRING([--with-java], [Build Java wrapper for the TurboJPEG library])) |
DRC | 211d1e7 | 2013-01-13 11:25:20 +0000 | [diff] [blame] | 345 | if test "x$with_turbojpeg" = "xno"; then |
DRC | 0ddff3b | 2013-04-11 05:17:53 +0000 | [diff] [blame] | 346 | with_java=no |
DRC | 211d1e7 | 2013-01-13 11:25:20 +0000 | [diff] [blame] | 347 | fi |
DRC | 1421a26 | 2011-02-06 15:35:38 +0000 | [diff] [blame] | 348 | |
DRC | f2602ce | 2011-04-01 00:20:33 +0000 | [diff] [blame] | 349 | WITH_JAVA=0 |
| 350 | if test "x$with_java" = "xyes"; then |
DRC | 0ddff3b | 2013-04-11 05:17:53 +0000 | [diff] [blame] | 351 | AC_MSG_RESULT(yes) |
DRC | 1421a26 | 2011-02-06 15:35:38 +0000 | [diff] [blame] | 352 | |
DRC | 0ddff3b | 2013-04-11 05:17:53 +0000 | [diff] [blame] | 353 | case $host_os in |
| 354 | darwin*) |
| 355 | DEFAULT_JNI_CFLAGS=-I/System/Library/Frameworks/JavaVM.framework/Headers |
| 356 | ;; |
| 357 | solaris*) |
| 358 | DEFAULT_JNI_CFLAGS='-I/usr/java/include -I/usr/java/include/solaris' |
| 359 | ;; |
| 360 | linux*) |
| 361 | DEFAULT_JNI_CFLAGS='-I/usr/java/default/include -I/usr/java/default/include/linux' |
| 362 | ;; |
| 363 | esac |
| 364 | if test "x$JNI_CFLAGS" = "x"; then |
| 365 | JNI_CFLAGS=$DEFAULT_JNI_CFLAGS |
| 366 | fi |
DRC | 1421a26 | 2011-02-06 15:35:38 +0000 | [diff] [blame] | 367 | |
DRC | 0ddff3b | 2013-04-11 05:17:53 +0000 | [diff] [blame] | 368 | SAVE_CPPFLAGS=${CPPFLAGS} |
| 369 | CPPFLAGS="${CPPFLAGS} ${JNI_CFLAGS}" |
| 370 | AC_CHECK_HEADERS([jni.h], [DUMMY=1], |
| 371 | [AC_MSG_ERROR([Could not find JNI header file])]) |
| 372 | CPPFLAGS=${SAVE_CPPFLAGS} |
| 373 | AC_SUBST(JNI_CFLAGS) |
DRC | 1b0c3b0 | 2011-02-06 15:51:27 +0000 | [diff] [blame] | 374 | |
DRC | 0ddff3b | 2013-04-11 05:17:53 +0000 | [diff] [blame] | 375 | RPM_CONFIG_ARGS="$RPM_CONFIG_ARGS --with-java" |
DRC | 764e1e2 | 2013-04-19 04:25:14 +0000 | [diff] [blame] | 376 | JAVA_RPM_CONTENTS_1='%dir %{_datadir}/classes' |
| 377 | JAVA_RPM_CONTENTS_2=%{_datadir}/classes/turbojpeg.jar |
DRC | 0ddff3b | 2013-04-11 05:17:53 +0000 | [diff] [blame] | 378 | WITH_JAVA=1 |
DRC | f8e0055 | 2011-02-04 11:06:36 +0000 | [diff] [blame] | 379 | else |
DRC | 0ddff3b | 2013-04-11 05:17:53 +0000 | [diff] [blame] | 380 | AC_MSG_RESULT(no) |
DRC | f8e0055 | 2011-02-04 11:06:36 +0000 | [diff] [blame] | 381 | fi |
DRC | f2602ce | 2011-04-01 00:20:33 +0000 | [diff] [blame] | 382 | AM_CONDITIONAL([WITH_JAVA], [test "x$with_java" = "xyes"]) |
| 383 | AC_SUBST(WITH_JAVA) |
| 384 | AC_SUBST(JAVA_RPM_CONTENTS_1) |
| 385 | AC_SUBST(JAVA_RPM_CONTENTS_2) |
DRC | f8e0055 | 2011-02-04 11:06:36 +0000 | [diff] [blame] | 386 | |
DRC | 4346f91 | 2011-06-14 22:16:50 +0000 | [diff] [blame] | 387 | # optionally force using gas-preprocessor.pl for compatibility testing |
| 388 | AC_ARG_WITH([gas-preprocessor], |
DRC | 0ddff3b | 2013-04-11 05:17:53 +0000 | [diff] [blame] | 389 | AC_HELP_STRING([--with-gas-preprocessor], |
| 390 | [Force using gas-preprocessor.pl on ARM.])) |
DRC | 4346f91 | 2011-06-14 22:16:50 +0000 | [diff] [blame] | 391 | if test "x${with_gas_preprocessor}" = "xyes"; then |
| 392 | case $host_os in |
| 393 | darwin*) |
| 394 | CCAS="gas-preprocessor.pl -fix-unreq $CC" |
| 395 | ;; |
| 396 | *) |
| 397 | CCAS="gas-preprocessor.pl -no-fix-unreq $CC" |
| 398 | ;; |
| 399 | esac |
| 400 | AC_SUBST([CCAS]) |
| 401 | fi |
| 402 | |
DRC | 60cddeb | 2010-02-12 05:37:07 +0000 | [diff] [blame] | 403 | # SIMD is optional |
| 404 | AC_ARG_WITH([simd], |
DRC | 0ddff3b | 2013-04-11 05:17:53 +0000 | [diff] [blame] | 405 | AC_HELP_STRING([--without-simd], [Do not include SIMD extensions])) |
DRC | 60cddeb | 2010-02-12 05:37:07 +0000 | [diff] [blame] | 406 | if test "x${with_simd}" != "xno"; then |
DRC | f369f17 | 2013-09-25 05:24:46 +0000 | [diff] [blame] | 407 | require_simd=no |
| 408 | if test "x${with_simd}" = "xyes"; then |
| 409 | require_simd=yes |
| 410 | fi |
DRC | 60cddeb | 2010-02-12 05:37:07 +0000 | [diff] [blame] | 411 | # Check if we're on a supported CPU |
| 412 | AC_MSG_CHECKING([if we have SIMD optimisations for cpu type]) |
| 413 | case "$host_cpu" in |
DRC | 4959787 | 2010-05-17 20:47:57 +0000 | [diff] [blame] | 414 | x86_64 | amd64) |
DRC | 60cddeb | 2010-02-12 05:37:07 +0000 | [diff] [blame] | 415 | AC_MSG_RESULT([yes (x86_64)]) |
| 416 | AC_PROG_NASM |
| 417 | simd_arch=x86_64 |
DRC | 0ddff3b | 2013-04-11 05:17:53 +0000 | [diff] [blame] | 418 | ;; |
DRC | 60cddeb | 2010-02-12 05:37:07 +0000 | [diff] [blame] | 419 | i*86 | x86 | ia32) |
| 420 | AC_MSG_RESULT([yes (i386)]) |
| 421 | AC_PROG_NASM |
| 422 | simd_arch=i386 |
DRC | 0ddff3b | 2013-04-11 05:17:53 +0000 | [diff] [blame] | 423 | ;; |
DRC | 321e068 | 2011-05-03 08:47:43 +0000 | [diff] [blame] | 424 | arm*) |
| 425 | AC_MSG_RESULT([yes (arm)]) |
| 426 | AC_MSG_CHECKING([if the assembler is GNU-compatible and can be used]) |
| 427 | AC_CHECK_COMPATIBLE_ARM_ASSEMBLER_IFELSE( |
| 428 | [AC_MSG_RESULT([yes]) |
| 429 | simd_arch=arm], |
| 430 | [AC_MSG_RESULT([no]) |
DRC | f369f17 | 2013-09-25 05:24:46 +0000 | [diff] [blame] | 431 | with_simd=no]) |
DRC | f57a22d | 2013-10-26 00:32:23 +0000 | [diff] [blame] | 432 | if test "x${with_simd}" = "xno"; then |
| 433 | if test "x${require_simd}" = "xyes"; then |
| 434 | AC_MSG_ERROR([SIMD support can't be enabled.]) |
| 435 | else |
| 436 | AC_MSG_WARN([SIMD support can't be enabled. Performance will suffer.]) |
DRC | 88dee58 | 2014-02-06 19:31:23 +0000 | [diff] [blame] | 437 | fi |
DRC | f369f17 | 2013-09-25 05:24:46 +0000 | [diff] [blame] | 438 | fi |
DRC | 0ddff3b | 2013-04-11 05:17:53 +0000 | [diff] [blame] | 439 | ;; |
DRC | 60cddeb | 2010-02-12 05:37:07 +0000 | [diff] [blame] | 440 | *) |
| 441 | AC_MSG_RESULT([no ("$host_cpu")]) |
DRC | 83f2144 | 2010-06-10 18:52:41 +0000 | [diff] [blame] | 442 | with_simd=no; |
DRC | f57a22d | 2013-10-26 00:32:23 +0000 | [diff] [blame] | 443 | if test "x${require_simd}" = "xyes"; then |
DRC | f369f17 | 2013-09-25 05:24:46 +0000 | [diff] [blame] | 444 | AC_MSG_ERROR([SIMD support not available for this CPU.]) |
| 445 | else |
| 446 | AC_MSG_WARN([SIMD support not available for this CPU. Performance will suffer.]) |
| 447 | fi |
DRC | 0ddff3b | 2013-04-11 05:17:53 +0000 | [diff] [blame] | 448 | ;; |
DRC | 60cddeb | 2010-02-12 05:37:07 +0000 | [diff] [blame] | 449 | esac |
Pierre Ossman | ba82ddf | 2009-06-29 11:20:42 +0000 | [diff] [blame] | 450 | |
DRC | 60cddeb | 2010-02-12 05:37:07 +0000 | [diff] [blame] | 451 | if test "x${with_simd}" != "xno"; then |
| 452 | AC_DEFINE([WITH_SIMD], [1], [Use accelerated SIMD routines.]) |
| 453 | fi |
DRC | 6da61db | 2013-01-19 01:06:46 +0000 | [diff] [blame] | 454 | else |
| 455 | RPM_CONFIG_ARGS="$RPM_CONFIG_ARGS --without-simd" |
DRC | 60cddeb | 2010-02-12 05:37:07 +0000 | [diff] [blame] | 456 | fi |
DRC | 411dcf5 | 2010-02-12 04:28:29 +0000 | [diff] [blame] | 457 | |
DRC | 60cddeb | 2010-02-12 05:37:07 +0000 | [diff] [blame] | 458 | AM_CONDITIONAL([WITH_SIMD], [test "x$with_simd" != "xno"]) |
DRC | 321e068 | 2011-05-03 08:47:43 +0000 | [diff] [blame] | 459 | AM_CONDITIONAL([WITH_SSE_FLOAT_DCT], [test "x$simd_arch" = "xx86_64" -o "x$simd_arch" = "xi386"]) |
Pierre Ossman | ba82ddf | 2009-06-29 11:20:42 +0000 | [diff] [blame] | 460 | AM_CONDITIONAL([SIMD_I386], [test "x$simd_arch" = "xi386"]) |
| 461 | AM_CONDITIONAL([SIMD_X86_64], [test "x$simd_arch" = "xx86_64"]) |
DRC | 321e068 | 2011-05-03 08:47:43 +0000 | [diff] [blame] | 462 | AM_CONDITIONAL([SIMD_ARM], [test "x$simd_arch" = "xarm"]) |
DRC | 4959787 | 2010-05-17 20:47:57 +0000 | [diff] [blame] | 463 | AM_CONDITIONAL([X86_64], [test "x$host_cpu" = "xx86_64" -o "x$host_cpu" = "xamd64"]) |
DRC | 211d1e7 | 2013-01-13 11:25:20 +0000 | [diff] [blame] | 464 | AM_CONDITIONAL([WITH_TURBOJPEG], [test "x$with_turbojpeg" != "xno"]) |
Pierre Ossman | 59a3938 | 2009-03-09 13:15:56 +0000 | [diff] [blame] | 465 | |
DRC | 764e1e2 | 2013-04-19 04:25:14 +0000 | [diff] [blame] | 466 | AC_ARG_VAR(PKGNAME, [distribution package name (default: libjpeg-turbo)]) |
| 467 | if test "x$PKGNAME" = "x"; then |
| 468 | PKGNAME=$PACKAGE_NAME |
| 469 | fi |
| 470 | AC_SUBST(PKGNAME) |
| 471 | |
DRC | 079b434 | 2010-02-15 11:32:23 +0000 | [diff] [blame] | 472 | case "$host_cpu" in |
| 473 | x86_64) |
| 474 | RPMARCH=x86_64 |
DRC | 52a19f2 | 2010-02-15 12:06:27 +0000 | [diff] [blame] | 475 | DEBARCH=amd64 |
DRC | 079b434 | 2010-02-15 11:32:23 +0000 | [diff] [blame] | 476 | ;; |
| 477 | i*86 | x86 | ia32) |
| 478 | RPMARCH=i386 |
DRC | 52a19f2 | 2010-02-15 12:06:27 +0000 | [diff] [blame] | 479 | DEBARCH=i386 |
DRC | 079b434 | 2010-02-15 11:32:23 +0000 | [diff] [blame] | 480 | ;; |
| 481 | esac |
| 482 | |
| 483 | AC_SUBST(RPMARCH) |
DRC | 6da61db | 2013-01-19 01:06:46 +0000 | [diff] [blame] | 484 | AC_SUBST(RPM_CONFIG_ARGS) |
DRC | 52a19f2 | 2010-02-15 12:06:27 +0000 | [diff] [blame] | 485 | AC_SUBST(DEBARCH) |
DRC | 079b434 | 2010-02-15 11:32:23 +0000 | [diff] [blame] | 486 | AC_SUBST(BUILD) |
DRC | 2cdd2ae | 2010-10-10 06:54:21 +0000 | [diff] [blame] | 487 | AC_DEFINE_UNQUOTED([BUILD], "$BUILD", [Build number]) |
DRC | 079b434 | 2010-02-15 11:32:23 +0000 | [diff] [blame] | 488 | |
Pierre Ossman | ba0ce39 | 2009-03-06 15:30:42 +0000 | [diff] [blame] | 489 | # jconfig.h is the file we use, but we have another before that to |
| 490 | # fool autoheader. the reason is that we include this header in our |
| 491 | # API headers, which can screw things up for users of the lib. |
| 492 | # jconfig.h is a minimal version that allows this package to be built |
Constantin Kaplinsky | 0ca4425 | 2008-09-28 05:08:48 +0000 | [diff] [blame] | 493 | AC_CONFIG_HEADERS([config.h]) |
| 494 | AC_CONFIG_HEADERS([jconfig.h]) |
DRC | 764e1e2 | 2013-04-19 04:25:14 +0000 | [diff] [blame] | 495 | AC_CONFIG_FILES([pkgscripts/libjpeg-turbo.spec.tmpl:release/libjpeg-turbo.spec.in]) |
DRC | 7175e51 | 2013-04-23 22:29:00 +0000 | [diff] [blame] | 496 | AC_CONFIG_FILES([pkgscripts/makecygwinpkg.tmpl:release/makecygwinpkg.in]) |
DRC | 764e1e2 | 2013-04-19 04:25:14 +0000 | [diff] [blame] | 497 | AC_CONFIG_FILES([pkgscripts/makedpkg.tmpl:release/makedpkg.in]) |
DRC | 7175e51 | 2013-04-23 22:29:00 +0000 | [diff] [blame] | 498 | AC_CONFIG_FILES([pkgscripts/makemacpkg.tmpl:release/makemacpkg.in]) |
DRC | b94f2de | 2011-03-22 09:31:25 +0000 | [diff] [blame] | 499 | AC_CONFIG_FILES([pkgscripts/Description.plist:release/Description.plist.in]) |
| 500 | AC_CONFIG_FILES([pkgscripts/Info.plist:release/Info.plist.in]) |
DRC | 7175e51 | 2013-04-23 22:29:00 +0000 | [diff] [blame] | 501 | AC_CONFIG_FILES([pkgscripts/uninstall.tmpl:release/uninstall.in]) |
DRC | 211d1e7 | 2013-01-13 11:25:20 +0000 | [diff] [blame] | 502 | if test "x$with_turbojpeg" != "xno"; then |
DRC | 0ddff3b | 2013-04-11 05:17:53 +0000 | [diff] [blame] | 503 | AC_CONFIG_FILES([tjbenchtest]) |
DRC | 211d1e7 | 2013-01-13 11:25:20 +0000 | [diff] [blame] | 504 | fi |
| 505 | if test "x$with_java" = "xyes"; then |
DRC | 0ddff3b | 2013-04-11 05:17:53 +0000 | [diff] [blame] | 506 | AC_CONFIG_FILES([tjbenchtest.java]) |
| 507 | AC_CONFIG_FILES([tjexampletest]) |
DRC | 211d1e7 | 2013-01-13 11:25:20 +0000 | [diff] [blame] | 508 | fi |
DRC | 8515d3d | 2010-10-19 06:38:57 +0000 | [diff] [blame] | 509 | AC_CONFIG_FILES([libjpeg.map]) |
Pierre Ossman | 3a65ef4 | 2009-03-16 13:34:18 +0000 | [diff] [blame] | 510 | AC_CONFIG_FILES([Makefile simd/Makefile]) |
DRC | dffd53d | 2011-04-01 00:37:20 +0000 | [diff] [blame] | 511 | AC_CONFIG_FILES([java/Makefile]) |
DRC | 0bf58f2 | 2013-02-06 23:51:08 +0000 | [diff] [blame] | 512 | AC_CONFIG_FILES([md5/Makefile]) |
Constantin Kaplinsky | 0ca4425 | 2008-09-28 05:08:48 +0000 | [diff] [blame] | 513 | AC_OUTPUT |