1dnl Process this file with autoconf to produce a configure script.
2dnl
3dnl   Copyright (C) 2012-2022 Free Software Foundation, Inc.
4dnl
5dnl This file is free software; you can redistribute it and/or modify
6dnl it under the terms of the GNU General Public License as published by
7dnl the Free Software Foundation; either version 3 of the License, or
8dnl (at your option) any later version.
9dnl
10dnl This program is distributed in the hope that it will be useful,
11dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
12dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13dnl GNU General Public License for more details.
14dnl
15dnl You should have received a copy of the GNU General Public License
16dnl along with this program; see the file COPYING3.  If not see
17dnl <http://www.gnu.org/licenses/>.
18dnl
19
20m4_include([../bfd/version.m4])
21m4_include([../config/debuginfod.m4])
22AC_INIT([binutils], BFD_VERSION)
23AC_CONFIG_SRCDIR(ar.c)
24
25AC_CANONICAL_TARGET
26
27AM_INIT_AUTOMAKE
28AM_SILENT_RULES([yes])
29
30AC_PROG_CC
31AC_GNU_SOURCE
32AC_USE_SYSTEM_EXTENSIONS
33
34LT_INIT
35ACX_LARGEFILE
36
37ac_checking=
38. ${srcdir}/../bfd/development.sh
39test "$development" = true && ac_checking=yes
40AC_ARG_ENABLE(checking,
41[  --enable-checking       enable run-time checks],
42[case "${enableval}" in
43  no|none)  ac_checking= ;;
44  *)	    ac_checking=yes ;;
45esac])dnl
46if test x$ac_checking != x ; then
47  AC_DEFINE(ENABLE_CHECKING, 1, [Define if you want run-time sanity checks.])
48fi
49
50AC_ARG_ENABLE(targets,
51[  --enable-targets        alternative target configurations],
52[case "${enableval}" in
53  yes | "") AC_MSG_ERROR(enable-targets option must specify target names or 'all')
54            ;;
55  no)       enable_targets= ;;
56  *)        enable_targets=$enableval ;;
57esac])dnl
58
59
60AC_ARG_ENABLE(deterministic-archives,
61[AS_HELP_STRING([--enable-deterministic-archives],
62		[ar and ranlib default to -D behavior])], [
63if test "${enableval}" = no; then
64  default_ar_deterministic=0
65else
66  default_ar_deterministic=1
67fi], [default_ar_deterministic=0])
68
69AC_DEFINE_UNQUOTED(DEFAULT_AR_DETERMINISTIC, $default_ar_deterministic,
70		   [Should ar and ranlib use -D behavior by default?])
71
72
73AC_ARG_ENABLE(default-strings-all,
74[AS_HELP_STRING([--disable-default-strings-all],
75		[strings defaults to --data behavior])], [
76if test "${enableval}" = no; then
77  default_strings_all=0
78else
79  default_strings_all=1
80fi], [default_strings_all=1])
81
82AC_DEFINE_UNQUOTED(DEFAULT_STRINGS_ALL, $default_strings_all,
83		   [Should strings use -a behavior by default?])
84
85
86AC_ARG_ENABLE(f-for-ifunc-symbols,
87[AS_HELP_STRING([--enable-f-for-ifunc-symbols],
88	[Have nm use F and f for global and local ifunc symbols])], [
89if test "${enableval}" = no; then
90  default_f_for_ifunc=0
91else
92  default_f_for_ifunc=1
93fi], [default_f_for_ifunc=0])
94
95AC_DEFINE_UNQUOTED(DEFAULT_F_FOR_IFUNC_SYMBOLS, $default_f_for_ifunc,
96		   [Have nm use F and f for global and local ifunc symbols])
97
98
99AC_ARG_ENABLE(follow-debug-links,
100[AS_HELP_STRING([--enable-follow-debug-links],
101	[Have readelf and objdump follow debug links by default])], [
102if test "${enableval}" = no; then
103  default_for_follow_links=0
104else
105  default_for_follow_links=1
106fi], [default_for_follow_links=1])
107
108AC_DEFINE_UNQUOTED(DEFAULT_FOR_FOLLOW_LINKS, $default_for_follow_links,
109		   [Have readelf and objdump follow debug links by default])
110
111
112AC_DEBUGINFOD
113
114GCC_ENABLE([libctf], [yes], [], [Handle .ctf type-info sections])
115if test "${enable_libctf}" = yes; then
116    AC_DEFINE(ENABLE_LIBCTF, 1, [Handle .ctf type-info sections])
117fi
118AM_CONDITIONAL(ENABLE_LIBCTF, test "${enable_libctf}" = yes)
119
120AM_BINUTILS_WARNINGS
121
122AC_CONFIG_HEADERS(config.h:config.in)
123
124AH_VERBATIM([00_CONFIG_H_CHECK],
125[/* Check that config.h is #included before system headers
126   (this works only for glibc, but that should be enough).  */
127#if defined(__GLIBC__) && !defined(__FreeBSD_kernel__) && !defined(__CONFIG_H__)
128#  error config.h must be #included before system headers
129#endif
130#define __CONFIG_H__ 1])
131
132if test -z "$target" ; then
133    AC_MSG_ERROR(Unrecognized target system type; please check config.sub.)
134fi
135if test -z "$host" ; then
136    AC_MSG_ERROR(Unrecognized host system type; please check config.sub.)
137fi
138
139AC_PROG_YACC
140AM_PROG_LEX
141
142ALL_LINGUAS="bg ca da es fi fr hr id it ja pt ro ru rw sk sr sv tr uk vi zh_CN zh_TW"
143ZW_GNU_GETTEXT_SISTER_DIR
144AM_PO_SUBDIRS
145
146AM_MAINTAINER_MODE
147AM_CONDITIONAL(GENINSRC_NEVER, false)
148AC_EXEEXT
149if test -n "$EXEEXT"; then
150  AC_DEFINE(HAVE_EXECUTABLE_SUFFIX, 1,
151	    [Does the platform use an executable suffix?])
152fi
153AC_DEFINE_UNQUOTED(EXECUTABLE_SUFFIX, "${EXEEXT}",
154		   [Suffix used for executables, if any.])
155
156# host-specific stuff:
157
158HDEFINES=
159
160. ${srcdir}/../bfd/configure.host
161
162AC_SUBST(HDEFINES)
163AR=${AR-ar}
164AC_SUBST(AR)
165AC_PROG_RANLIB
166AC_PROG_INSTALL
167
168BFD_CC_FOR_BUILD
169
170DEMANGLER_NAME=c++filt
171case "${host}" in
172  *-*-go32* | *-*-msdos*)
173    DEMANGLER_NAME=cxxfilt
174esac
175AC_SUBST(DEMANGLER_NAME)
176
177AC_CHECK_SIZEOF([long])
178AC_CHECK_SIZEOF([long long])
179
180# We use headers from include/ that check various HAVE_*_H macros, thus
181# should ensure they are set by configure.  This is true even when C99
182# guarantees they are available.
183# plugin-api.h tests HAVE_STDINT_H and HAVE_INTTYPES_H
184# Besides those, we need to check anything used in binutils/ not in C99.
185AC_CHECK_HEADERS(fcntl.h inttypes.h stdint.h sys/file.h \
186		 sys/stat.h sys/time.h sys/types.h unistd.h)
187AC_HEADER_SYS_WAIT
188AC_FUNC_MMAP
189AC_CHECK_FUNCS(getc_unlocked mkdtemp mkstemp sbrk utimensat utimes)
190
191AC_MSG_CHECKING([for mbstate_t])
192AC_TRY_COMPILE([#include <wchar.h>],
193[mbstate_t teststate;],
194have_mbstate_t=yes, have_mbstate_t=no)
195AC_MSG_RESULT($have_mbstate_t)
196if test x"$have_mbstate_t" = xyes; then
197  AC_DEFINE(HAVE_MBSTATE_T,1,[Define if mbstate_t exists in wchar.h.])
198fi
199
200# Copied from gnulib stat-time.m4.
201# We should just switch over to using gnulib.
202AC_CHECK_MEMBERS([struct stat.st_atim.tv_nsec],
203  [AC_CACHE_CHECK([whether struct stat.st_atim is of type struct timespec],
204     [ac_cv_typeof_struct_stat_st_atim_is_struct_timespec],
205     [AC_COMPILE_IFELSE([AC_LANG_PROGRAM(
206        [[
207          #include <sys/types.h>
208          #include <sys/stat.h>
209          #if HAVE_SYS_TIME_H
210          # include <sys/time.h>
211          #endif
212          #include <time.h>
213          struct timespec ts;
214          struct stat st;
215        ]],
216        [[
217          st.st_atim = ts;
218        ]])],
219        [ac_cv_typeof_struct_stat_st_atim_is_struct_timespec=yes],
220        [ac_cv_typeof_struct_stat_st_atim_is_struct_timespec=no])])
221   if test $ac_cv_typeof_struct_stat_st_atim_is_struct_timespec = yes; then
222     AC_DEFINE([TYPEOF_STRUCT_STAT_ST_ATIM_IS_STRUCT_TIMESPEC], [1],
223       [Define to 1 if the type of the st_atim member of a struct stat is
224        struct timespec.])
225   fi],
226  [AC_CHECK_MEMBERS([struct stat.st_atimespec.tv_nsec], [],
227     [AC_CHECK_MEMBERS([struct stat.st_atimensec], [],
228        [AC_CHECK_MEMBERS([struct stat.st_atim.st__tim.tv_nsec], [], [],
229           [#include <sys/types.h>
230            #include <sys/stat.h>])],
231        [#include <sys/types.h>
232         #include <sys/stat.h>])],
233     [#include <sys/types.h>
234      #include <sys/stat.h>])],
235  [#include <sys/types.h>
236   #include <sys/stat.h>])
237
238# Some systems have frexp only in -lm, not in -lc.
239AC_SEARCH_LIBS(frexp, m)
240
241AM_LC_MESSAGES
242
243AC_MSG_CHECKING(for a known getopt prototype in unistd.h)
244AC_CACHE_VAL(bu_cv_decl_getopt_unistd_h,
245[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include <unistd.h>], [extern int getopt (int, char *const*, const char *);])],
246bu_cv_decl_getopt_unistd_h=yes, bu_cv_decl_getopt_unistd_h=no)])
247AC_MSG_RESULT($bu_cv_decl_getopt_unistd_h)
248if test $bu_cv_decl_getopt_unistd_h = yes; then
249  AC_DEFINE([HAVE_DECL_GETOPT], 1,
250	    [Is the prototype for getopt in <unistd.h> in the expected format?])
251fi
252
253# Under Next 3.2 <utime.h> apparently does not define struct utimbuf
254# by default.
255AC_MSG_CHECKING([for utime.h])
256AC_CACHE_VAL(bu_cv_header_utime_h,
257[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include <sys/types.h>
258#ifdef HAVE_TIME_H
259#include <time.h>
260#endif
261#include <utime.h>],
262[struct utimbuf s;])],
263bu_cv_header_utime_h=yes, bu_cv_header_utime_h=no)])
264AC_MSG_RESULT($bu_cv_header_utime_h)
265if test $bu_cv_header_utime_h = yes; then
266  AC_DEFINE(HAVE_GOOD_UTIME_H, 1, [Does <utime.h> define struct utimbuf?])
267fi
268
269AC_CHECK_DECLS([asprintf, environ, getc_unlocked, sbrk, stpcpy, strnlen])
270
271# Link in zlib if we can.  This allows us to read compressed debug
272# sections.  This is used only by readelf.c (objdump uses bfd for
273# reading compressed sections).
274AM_ZLIB
275
276BFD_BINARY_FOPEN
277
278# Support for the msgpack C library.
279AC_ARG_WITH([msgpack],
280	    AC_HELP_STRING([--with-msgpack], [Enable msgpack support (auto/yes/no)]),
281	    [],
282	    [with_msgpack=auto])
283
284
285if test "$with_msgpack" != no; then
286  PKG_CHECK_MODULES(MSGPACK, msgpack, [
287    AC_DEFINE([HAVE_MSGPACK], [1], [Define to 1 if msgpack is available.])
288  ], [
289      if test "$with_msgpack" = yes; then
290	AC_MSG_ERROR([--with-msgpack was given, but msgpack is missing or unusable.])
291      fi
292  ])
293fi
294
295# target-specific stuff:
296
297# Canonicalize the secondary target names.
298if test -n "$enable_targets"; then
299    for targ in `echo $enable_targets | sed 's/,/ /g'`
300    do
301	result=`$ac_config_sub $targ 2>/dev/null`
302	if test -n "$result"; then
303	    canon_targets="$canon_targets $result"
304	else
305	    # Allow targets that config.sub doesn't recognize, like "all".
306	    canon_targets="$canon_targets $targ"
307	fi
308    done
309fi
310
311AC_CHECK_HEADER(iconv.h)
312AM_ICONV
313
314all_targets=false
315BUILD_SRCONV=
316BUILD_DLLTOOL=
317DLLTOOL_DEFS=
318DLLTOOL_DEFAULT=
319BUILD_WINDRES=
320BUILD_WINDMC=
321BUILD_DLLWRAP=
322BUILD_MISC=
323BUILD_INSTALL_MISC=
324OBJDUMP_DEFS=
325OBJDUMP_PRIVATE_VECTORS=
326OBJDUMP_PRIVATE_OFILES=
327od_vectors=
328
329for targ in $target $canon_targets
330do
331    if test "x$targ" = "xall"; then
332        all_targets=true
333	BUILD_SRCONV='$(SRCONV_PROG)'
334	BUILD_MISC="${BUILD_MISC} "'bin2c$(EXEEXT_FOR_BUILD)'
335	BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)'
336	BUILD_WINDMC='$(WINDMC_PROG)$(EXEEXT)'
337	BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)'
338	if test -z "$DLLTOOL_DEFAULT"; then
339	  DLLTOOL_DEFAULT="-DDLLTOOL_DEFAULT_I386"
340	fi
341	DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_I386"
342	BUILD_DLLWRAP='$(DLLWRAP_PROG)$(EXEEXT)'
343	od_vectors="$od_vectors objdump_private_desc_xcoff"
344    else
345	case $targ in
346	*-*-hms*) BUILD_SRCONV='$(SRCONV_PROG)' ;;
347	esac
348
349	case $targ in
350	arm-wince-pe* | arm-*-wince | arm*-*-cegcc* | arm*-*-mingw32ce*)
351  	  BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)'
352	  if test -z "$DLLTOOL_DEFAULT"; then
353	    DLLTOOL_DEFAULT="-DDLLTOOL_DEFAULT_ARM_WINCE"
354	  fi
355	  DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_ARM_WINCE -DDLLTOOL_ARM"
356	  BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)'
357	  BUILD_WINDMC='$(WINDMC_PROG)$(EXEEXT)'
358	  ;;
359	arm-*-pe*)
360  	  BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)'
361	  if test -z "$DLLTOOL_DEFAULT"; then
362	    DLLTOOL_DEFAULT="-DDLLTOOL_DEFAULT_ARM"
363	  fi
364	  DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_ARM"
365	  BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)'
366	  BUILD_WINDMC='$(WINDMC_PROG)$(EXEEXT)'
367	  ;;
368	x86_64-*-mingw* | x86_64-*-cygwin*)
369  	  BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)'
370	  if test -z "$DLLTOOL_DEFAULT"; then
371	    DLLTOOL_DEFAULT="-DDLLTOOL_DEFAULT_MX86_64"
372	  fi
373	  DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_MX86_64"
374	  BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)'
375	  BUILD_WINDMC='$(WINDMC_PROG)$(EXEEXT)'
376	  BUILD_DLLWRAP='$(DLLWRAP_PROG)$(EXEEXT)'
377	  ;;
378changequote(,)dnl
379	i[3-7]86-*-pe* | i[3-7]86-*-cygwin* | i[3-7]86-*-mingw32**)
380changequote([,])dnl
381  	  BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)'
382	  if test -z "$DLLTOOL_DEFAULT"; then
383	    DLLTOOL_DEFAULT="-DDLLTOOL_DEFAULT_I386"
384	  fi
385	  DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_I386"
386	  BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)'
387	  BUILD_WINDMC='$(WINDMC_PROG)$(EXEEXT)'
388	  BUILD_DLLWRAP='$(DLLWRAP_PROG)$(EXEEXT)'
389	  ;;
390changequote(,)dnl
391	i[3-7]86-*-interix)
392changequote([,])dnl
393	  BUILD_DLLTOOL='$(DLLTOOL_PROG)'
394	  if test -z "$DLLTOOL_DEFAULT"; then
395	    DLLTOOL_DEFAULT="-DDLLTOOL_DEFAULT_I386"
396	  fi
397	  DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_I386"
398	  ;;
399changequote(,)dnl
400	powerpc*-aix5.[01])
401changequote([,])dnl
402	  ;;
403changequote(,)dnl
404	powerpc*-aix[5-9].*)
405changequote([,])dnl
406	  OBJDUMP_DEFS="-DAIX_WEAK_SUPPORT"
407	  ;;
408	powerpc*-*-linux* | powerpc*-*-elf* | powerpc*-*-eabi*)
409	  case "$BUILD_INSTALL_MISC" in
410	    *embedspu*) ;;
411	    *) BUILD_INSTALL_MISC="${BUILD_INSTALL_MISC} embedspu"
412	  esac
413	  ;;
414	sh*-*-pe)
415  	  BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)'
416	  if test -z "$DLLTOOL_DEFAULT"; then
417	    DLLTOOL_DEFAULT="-DDLLTOOL_DEFAULT_SH"
418	  fi
419	  DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_SH"
420	  BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)'
421	  BUILD_WINDMC='$(WINDMC_PROG)$(EXEEXT)'
422	  ;;
423	spu-*-*)
424	  BUILD_MISC="${BUILD_MISC} "'bin2c$(EXEEXT_FOR_BUILD)'
425	  ;;
426	mips*-*-pe)
427  	  BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)'
428	  if test -z "$DLLTOOL_DEFAULT"; then
429	    DLLTOOL_DEFAULT="-DDLLTOOL_DEFAULT_MIPS"
430	  fi
431	  DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_MIPS"
432	  BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)'
433	  BUILD_WINDMC='$(WINDMC_PROG)$(EXEEXT)'
434	  ;;
435	mcore-*-pe)
436  	  BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)'
437	  if test -z "$DLLTOOL_DEFAULT"; then
438	    DLLTOOL_DEFAULT="-DDLLTOOL_DEFAULT_MCORE"
439	  fi
440	  DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_MCORE"
441	  BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)'
442	  BUILD_WINDMC='$(WINDMC_PROG)$(EXEEXT)'
443	  ;;
444	mcore-*-elf)
445  	  BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)'
446	  if test -z "$DLLTOOL_DEFAULT"; then
447	    DLLTOOL_DEFAULT="-DDLLTOOL_DEFAULT_MCORE_ELF"
448	  fi
449	  DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_MCORE_ELF"
450	  ;;
451  	mep-*)
452	  OBJDUMP_DEFS="-DSKIP_ZEROES=256 -DSKIP_ZEROES_AT_END=0"
453	  ;;
454	esac
455
456	# Add objdump private vectors.
457	case $targ in
458	avr-*-*)
459	  od_vectors="$od_vectors objdump_private_desc_elf32_avr"
460	  ;;
461	powerpc*-*-aix* | rs6000-*-aix*)
462	  od_vectors="$od_vectors objdump_private_desc_xcoff"
463	  ;;
464        *-*-darwin*)
465	  od_vectors="$od_vectors objdump_private_desc_mach_o"
466	  ;;
467	esac
468    fi
469done
470
471# Uniq objdump private vector, build objdump target ofiles.
472od_files=
473f=""
474for i in $od_vectors ; do
475    case " $f " in
476    *" $i "*) ;;
477    *)
478	f="$f $i"
479	OBJDUMP_PRIVATE_VECTORS="$OBJDUMP_PRIVATE_VECTORS &$i,"
480	case $i in
481	objdump_private_desc_elf32_avr)
482	    od_files="$od_files od-elf32_avr" ;;
483	objdump_private_desc_xcoff)
484	    od_files="$od_files od-xcoff" ;;
485	objdump_private_desc_mach_o)
486	    od_files="$od_files od-macho" ;;
487	*) AC_MSG_ERROR(*** unknown private vector $i) ;;
488	esac
489	;;
490    esac
491done
492
493# Uniq objdump target ofiles
494f=""
495for i in $od_files ; do
496    case " $f " in
497    *" $i "*) ;;
498    *)
499	f="$f $i"
500	OBJDUMP_PRIVATE_OFILES="$OBJDUMP_PRIVATE_OFILES $i.$objext"
501	;;
502    esac
503done
504
505DLLTOOL_DEFS="$DLLTOOL_DEFS $DLLTOOL_DEFAULT"
506
507if test "${with_windres+set}" = set; then
508	  BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)'
509fi
510
511if test "${with_windmc+set}" = set; then
512	  BUILD_WINDMC='$(WINDMC_PROG)$(EXEEXT)'
513fi
514
515OBJDUMP_DEFS="${OBJDUMP_DEFS} -DOBJDUMP_PRIVATE_VECTORS=\"${OBJDUMP_PRIVATE_VECTORS}\""
516
517AC_SUBST(BUILD_SRCONV)
518AC_SUBST(BUILD_DLLTOOL)
519AC_SUBST(DLLTOOL_DEFS)
520AC_SUBST(BUILD_WINDRES)
521AC_SUBST(BUILD_WINDMC)
522AC_SUBST(BUILD_DLLWRAP)
523AC_SUBST(BUILD_MISC)
524AC_SUBST(BUILD_INSTALL_MISC)
525AC_SUBST(OBJDUMP_DEFS)
526AC_SUBST(OBJDUMP_PRIVATE_OFILES)
527
528AC_DEFINE_UNQUOTED(TARGET, "${target}", [Configured target name.])
529
530targ=$target
531. $srcdir/../bfd/config.bfd
532if test "x$targ_underscore" = "xyes"; then
533    UNDERSCORE=1
534else
535    UNDERSCORE=0
536fi
537AC_DEFINE_UNQUOTED(TARGET_PREPENDS_UNDERSCORE, $UNDERSCORE,
538 [Define to 1 if user symbol names have a leading underscore, 0 if not.])
539
540# Emulation
541targ=$target
542. ${srcdir}/configure.tgt
543EMULATION=$targ_emul
544EMULATION_VECTOR=$targ_emul_vector
545
546AC_SUBST(EMULATION)
547AC_SUBST(EMULATION_VECTOR)
548
549# Required for html and install-html
550AC_SUBST(datarootdir)
551AC_SUBST(docdir)
552AC_SUBST(htmldir)
553AC_SUBST(pdfdir)
554
555AC_CONFIG_FILES(Makefile po/Makefile.in:po/Make-in)
556AC_OUTPUT
557
558GNU_MAKE_JOBSERVER
559