configure.ac 16 KB
Newer Older
1
2
3
4
# Configuration for GNU nano - a small and user-friendly text editor
#
# Copyright (C) 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
#
5
6
7
8
# GNU nano is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
# Free Software Foundation; either version 2, or (at your option) any
# later version.
9
#
10
11
12
13
# GNU nano is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# General Public License for more details.
14
15
#
# You should have received a copy of the GNU General Public License
David Lawrence Ramsey's avatar
David Lawrence Ramsey committed
16
# along with GNU nano; if not, write to the Free Software
17
18
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301,
# USA.
19
#
20
# $Id$
21

22
AC_INIT([GNU nano], [2.0.99-cvs], [nano-devel@gnu.org], [nano])
Jordi Mallach's avatar
Jordi Mallach committed
23
AC_CONFIG_SRCDIR([src/nano.c])
24
AC_CANONICAL_TARGET([])
25
AM_INIT_AUTOMAKE
26
AC_CONFIG_HEADERS([config.h])
27

28
AC_PREREQ(2.54)
Chris Allegretta's avatar
Chris Allegretta committed
29
30

dnl Checks for programs.
David Lawrence Ramsey's avatar
David Lawrence Ramsey committed
31

32
AC_GNU_SOURCE
Chris Allegretta's avatar
Chris Allegretta committed
33
AC_PROG_CC
34
AC_PROG_LN_S
Chris Allegretta's avatar
Chris Allegretta committed
35
AC_ISC_POSIX
Jordi Mallach's avatar
Jordi Mallach committed
36
AC_SYS_LARGEFILE
Chris Allegretta's avatar
Chris Allegretta committed
37

38
dnl Internationalization macros.
David Lawrence Ramsey's avatar
David Lawrence Ramsey committed
39

40
41
AM_GNU_GETTEXT_VERSION(0.11.5)
AM_GNU_GETTEXT([external], [need-ngettext])
42
AM_CONDITIONAL(USE_NLS, test x$USE_NLS = xyes)
43

44
45
46
47
48
dnl Data location.

pkgdatadir=${datadir}/${PACKAGE}
AC_DEFINE_DIR([PKGDATADIR], [pkgdatadir], [Where data are placed to.])

Chris Allegretta's avatar
Chris Allegretta committed
49
dnl Checks for header files.
David Lawrence Ramsey's avatar
David Lawrence Ramsey committed
50

Chris Allegretta's avatar
Chris Allegretta committed
51
AC_HEADER_STDC
52
AC_CHECK_HEADERS(getopt.h libintl.h limits.h regex.h sys/param.h wchar.h wctype.h)
Chris Allegretta's avatar
Chris Allegretta committed
53

54
55
dnl Checks for options.

56
AC_ARG_ENABLE(debug,
Chris Allegretta's avatar
Chris Allegretta committed
57
[  --enable-debug          Enable debugging (disabled by default)],
58
[if test x$enableval = xyes; then
59
    AC_DEFINE(DEBUG, 1, [Define this to enable debug messages and assert warnings.]) debug_support=yes
60
fi])
Chris Allegretta's avatar
Chris Allegretta committed
61

62
if test x$debug_support != xyes; then
63
    AC_DEFINE(NDEBUG, 1, [Shut up assert warnings :-)])
Chris Allegretta's avatar
Chris Allegretta committed
64
65
fi

66
AC_ARG_ENABLE(extra,
67
[  --enable-extra          Enable extra features, currently only easter eggs],
68
[if test x$enableval = xyes; then
69
    AC_DEFINE(NANO_EXTRA, 1, [Define this to enable extra stuff.]) extra_support=yes
70
fi])
71

Chris Allegretta's avatar
Chris Allegretta committed
72
AC_ARG_ENABLE(tiny,
73
[  --enable-tiny           Disable features for the sake of size],
Chris Allegretta's avatar
Chris Allegretta committed
74
[if test x$enableval = xyes; then
75
    AC_DEFINE(NANO_TINY, 1, [Define this to make the nano executable as small as possible.]) tiny_support=yes
76
    AC_DEFINE(DISABLE_BROWSER, 1, [Define this to disable the built-in file browser.])
77
    AC_DEFINE(DISABLE_HELP, 1, [Define this to disable the help text display.])
78
    AC_DEFINE(DISABLE_JUSTIFY, 1, [Define this to disable the justify routines.])
79
    AC_DEFINE(DISABLE_MOUSE, 1, [Define this to disable the mouse functions.])
80
    AC_DEFINE(DISABLE_OPERATINGDIR, 1, [Define this to disable the setting of the operating directory (chroot of sorts).])
81
    AC_DEFINE(DISABLE_SPELLER, 1, [Define this to disable the spell checker functions.])
82
83
    AC_DEFINE(DISABLE_TABCOMP, 1, [Define to disable the tab completion functions for files and search strings.])
    AC_DEFINE(DISABLE_WRAPPING, 1, [Define this to disable all text wrapping.])
84
fi])
Chris Allegretta's avatar
Chris Allegretta committed
85

86
AC_ARG_ENABLE(browser,
87
[  --disable-browser       Disable built-in file browser],
88
[if test x$enableval != xyes; then
89
    AC_DEFINE(DISABLE_BROWSER, 1, [Define this to disable the built-in file browser.])
90
fi])
91

92
AC_ARG_ENABLE(help,
93
[  --disable-help          Disable help functions],
94
[if test x$enableval != xyes; then
95
    AC_DEFINE(DISABLE_HELP, 1, [Define this to disable the help text display.])
96
fi])
97

98
AC_ARG_ENABLE(justify,
99
[  --disable-justify       Disable justify/unjustify functions],
100
[if test x$enableval != xyes; then
101
    AC_DEFINE(DISABLE_JUSTIFY, 1, [Define this to disable the justify routines.])
102
fi])
103

104
105
AC_ARG_ENABLE(mouse,
[  --disable-mouse         Disable mouse support (and -m flag)],
106
[if test x$enableval != xyes; then
107
    AC_DEFINE(DISABLE_MOUSE, 1, [Define this to disable the mouse support.])
108
fi])
109

110
111
AC_ARG_ENABLE(operatingdir,
[  --disable-operatingdir  Disable setting of operating directory (chroot of sorts)],
112
[if test x$enableval != xyes; then
113
    AC_DEFINE(DISABLE_OPERATINGDIR, 1, [Define this to disable the setting of the operating directory (chroot of sorts).])
114
fi])
115

116
AC_ARG_ENABLE(speller,
117
[  --disable-speller       Disable spell checker functions],
118
[if test x$enableval != xyes; then
119
    AC_DEFINE(DISABLE_SPELLER, 1, [Define this to disable the spell checker functions.])
120
fi])
121

122
AC_ARG_ENABLE(tabcomp,
123
[  --disable-tabcomp       Disable tab completion functions],
124
[if test x$enableval != xyes; then
125
    AC_DEFINE(DISABLE_TABCOMP, 1, [Define to disable the tab completion functions for files and search strings.])
126
fi])
Chris Allegretta's avatar
Chris Allegretta committed
127

128
AC_ARG_ENABLE(wrapping,
129
[  --disable-wrapping      Disable all wrapping of text (and -w flag)],
130
[if test x$enableval != xyes; then
131
    AC_DEFINE(DISABLE_WRAPPING, 1, [Define this to disable all text wrapping.])
132
fi])
133

134
135
AC_ARG_ENABLE(wrapping-as-root,
[  --disable-wrapping-as-root  Disable wrapping of text as root by default],
136
[if test x$enableval != xyes; then
137
    AC_DEFINE(DISABLE_ROOTWRAPPING, 1, [Define this to disable text wrapping as root by default.])
138
fi])
139

140
141
142
AC_ARG_ENABLE(color,
[  --enable-color          Enable color and syntax highlighting],
[if test x$enableval = xyes; then
143
    if test x$ac_cv_header_regex_h = xyes; then
144
	AC_DEFINE(ENABLE_NANORC, 1, [Define this to use .nanorc files.]) nanorc_support=yes
145
146
147
148
149
150
151
152
	AC_DEFINE(ENABLE_COLOR, 1, [Define this to have syntax highlighting, requires regex.h and ENABLE_NANORC too!]) color_support=yes
    else
	AC_MSG_ERROR([
*** The header file regex.h was not found.  If you wish to use color
*** support this header file is required.  Please either install C
*** libraries that include the regex.h file or do not call the configure
*** script with --enable-color.])
    fi
153
154
155
156
157
158
fi])

AC_ARG_ENABLE(multibuffer,
[  --enable-multibuffer    Enable multiple file buffers],
[if test x$enableval = xyes; then
    AC_DEFINE(ENABLE_MULTIBUFFER, 1, [Define this to enable multiple file buffers.]) multibuffer_support=yes
159
fi])
160

161
AC_ARG_ENABLE(nanorc,
162
[  --enable-nanorc         Enable use of .nanorc files],
163
[if test x$enableval = xyes; then
164
    AC_DEFINE(ENABLE_NANORC, 1, [Define this to use .nanorc files.]) nanorc_support=yes
165
fi])
166

167
168
169
AC_ARG_ENABLE(all,
[  --enable-all            Enable ALL extra nano functionality (kitchen sink option)],
[if test x$enableval = xyes; then
170
    AC_DEFINE(ENABLE_NANORC, 1, [Define this to use .nanorc files.]) nanorc_support=yes
171
    AC_DEFINE(ENABLE_COLOR, 1, [Define this to have syntax highlighting, requires regex.h and ENABLE_NANORC too!]) color_support=yes
172
    AC_DEFINE(ENABLE_MULTIBUFFER, 1, [Define this to enable multiple file buffers.]) multibuffer_support=yes
173
    AC_DEFINE(NANO_EXTRA, 1, [Define this to enable extra stuff.]) extra_support=yes
174
175
fi])

176
177
178
179
180
181
182
183
184
185
186
AC_MSG_CHECKING([whether to enable UTF-8 support])
AC_ARG_ENABLE(utf8,
[  --enable-utf8           Enable UTF-8 support],
[if test x$enableval = xyes; then
    enable_utf8=yes
else
    enable_utf8=no
fi],
[enable_utf8=auto])
AC_MSG_RESULT($enable_utf8)

187
AC_MSG_CHECKING([whether to use slang])
Chris Allegretta's avatar
Chris Allegretta committed
188
189
190
191
192
193
194
195
196
197
CURSES_LIB_NAME=""
AC_ARG_WITH(slang,
[  --with-slang[=DIR]      Use the slang library instead of curses],
[    case "$with_slang" in
    no)
	AC_MSG_RESULT(no)
	;;
    *)
	AC_MSG_RESULT(yes)

198
	if test x$with_slang != xyes; then
199
200
201
202
	    # Add additional search path
	    LDFLAGS="-L$with_slang/lib $LDFLAGS"
	    CPPFLAGS="-I$with_slang/include $CPPFLAGS"
	fi
Chris Allegretta's avatar
Chris Allegretta committed
203

204
	if test x$enable_utf8 != xno; then
205
206
207
208
209
	    AC_CHECK_HEADER(slcurses.h,
		AC_MSG_CHECKING([for SLutf8_enable in -lslang])
		_libs=$LIBS
		LIBS="$LIBS -lslang"
		AC_TRY_RUN([
210
#include <slcurses.h>
211
int main(void)
212
{
213
    SLutf8_enable(1);
214
215
    return 0;
}],
216
		    [AC_MSG_RESULT(yes)
217
		    AC_DEFINE(USE_SLANG, 1, [Define to use the slang wrappers for curses instead of native curses.]) slang_support=yes
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
		    CURSES_LIB_WIDE=yes
		    if test x$with_slang != xyes; then
			CURSES_LIB="-L${with_slang}/lib -lslang"
		    else
			CURSES_LIB="-lslang"
		    fi
		    CURSES_LIB_NAME=slang],
		    [AC_MSG_RESULT(no)

		    # We might need the term library
		    for termlib in ncurses curses termcap terminfo termlib; do
			AC_CHECK_LIB([${termlib}], tputs, [tcap="-l$termlib"])
			test -n "$tcap" && break
		    done

		    AC_MSG_CHECKING([for SLutf8_enable in -lslang $tcap])
		    LIBS="$LIBS $tcap"
		    AC_TRY_RUN([
236
237
#include <slcurses.h>
int main(void)
238
{
239
    SLutf8_enable(1);
240
241
    return 0;
}],
242
			[AC_MSG_RESULT(yes)
243
			AC_DEFINE(USE_SLANG, 1, [Define to use the slang wrappers for curses instead of native curses.]) slang_support=yes
244
245
246
247
248
249
250
251
252
253
254
255
256
			CURSES_LIB_WIDE=yes
			if test x$with_slang != xyes; then
			    CURSES_LIB="-L${with_slang}/lib -lslang $tcap"
			else
			    CURSES_LIB="-lslang $tcap"
			fi
			CURSES_LIB_NAME=slang],
			[AC_MSG_RESULT(no)

			# We might need the math library
			AC_MSG_CHECKING([for SLutf8_enable in -lslang $tcap -lm])
			LIBS="$LIBS -lm"
			AC_TRY_RUN([
257
#include <slcurses.h>
258
int main(void)
259
{
260
    SLutf8_enable(1);
261
262
    return 0;
}],
263
			    [AC_MSG_RESULT(yes)
264
			    AC_DEFINE(USE_SLANG, 1, [Define to use the slang wrappers for curses instead of native curses.]) slang_support=yes
265
266
267
268
269
270
271
272
273
274
275
276
			    CURSES_LIB_WIDE=yes
			    if test x$with_slang != xyes; then
				CURSES_LIB="-L${with_slang}/lib -lslang $tcap -lm"
			    else
				CURSES_LIB="-lslang $tcap -lm"
			    fi
			    CURSES_LIB_NAME=slang],
			    [AC_MSG_RESULT(no)],
    AC_MSG_WARN([*** Can not use slang when cross-compiling]))],
    AC_MSG_WARN([*** Can not use slang when cross-compiling]))],
    AC_MSG_WARN([*** Can not use slang when cross-compiling])),
	    AC_MSG_ERROR([
277
278
*** The header file slcurses.h was not found.  If you wish to use
*** slang support this header file is required.  Please either
279
*** install a version of slang that includes the slcurses.h file or
280
*** do not call the configure script with --with-slang.]))
281
282
	fi

283
284
285
286
287
288
	if eval "test x$CURSES_LIB_NAME = x"; then
	    # Reset libs if the above slang tests failed
	    if test x$enable_utf8 != xno; then
		LIBS=$_libs
	    fi

289
290
291
292
293
	    AC_CHECK_HEADER(slcurses.h,
		AC_MSG_CHECKING([for SLtt_initialize in -lslang])
		_libs=$LIBS
		LIBS="$LIBS -lslang"
		AC_TRY_RUN([
294
295
#include <slcurses.h>
int main(void)
296
297
298
299
{
    SLtt_initialize(NULL);
    return 0;
}],
300
		    [AC_MSG_RESULT(yes)
301
		    AC_DEFINE(USE_SLANG, 1, [Define to use the slang wrappers for curses instead of native curses.]) slang_support=yes
302
303
		    if test x$with_slang != xyes; then
			CURSES_LIB="-L${with_slang}/lib -lslang"
304
		    else
305
			CURSES_LIB="-lslang"
306
		    fi
307
308
309
		    CURSES_LIB_NAME=slang],
		    [AC_MSG_RESULT(no)

310
311
312
313
314
315
316
317
		    # We might need the term library
		    for termlib in ncurses curses termcap terminfo termlib; do
			AC_CHECK_LIB([${termlib}], tputs, [tcap="-l$termlib"])
			test -n "$tcap" && break
		    done

		    AC_MSG_CHECKING([for SLtt_initialize in -lslang $tcap])
		    LIBS="$LIBS $tcap"
318
319
		    AC_TRY_RUN([
#include <slcurses.h>
320
int main(void)
321
{
322
    SLtt_initialize(NULL);
323
324
325
    return 0;
}],
			[AC_MSG_RESULT(yes)
326
			AC_DEFINE(USE_SLANG, 1, [Define to use the slang wrappers for curses instead of native curses.]) slang_support=yes
327
328
			if test x$with_slang != xyes; then
			    CURSES_LIB="-L${with_slang}/lib -lslang $tcap"
329
			else
330
			    CURSES_LIB="-lslang $tcap"
331
332
			fi
			CURSES_LIB_NAME=slang],
333
334
335
			[AC_MSG_RESULT(no)

			# We might need the math library
336
			AC_MSG_CHECKING([for SLtt_initialize in -lslang $tcap -lm])
337
			LIBS="$LIBS -lm"
338
339
340
			AC_TRY_RUN([
#include <slcurses.h>
int main(void)
341
342
343
344
{
    SLtt_initialize(NULL);
    return 0;
}],
345
			    [AC_MSG_RESULT(yes)
346
			    AC_DEFINE(USE_SLANG, 1, [Define to use the slang wrappers for curses instead of native curses.]) slang_support=yes
347
348
349
350
351
352
353
354
355
356
			    if test x$with_slang != xyes; then
				CURSES_LIB="-L${with_slang}/lib -lslang $tcap -lm"
			    else
				CURSES_LIB="-lslang $tcap -lm"
			    fi
			    CURSES_LIB_NAME=slang],
			    [AC_MSG_RESULT(no)],
    AC_MSG_WARN([*** Can not use slang when cross-compiling]))],
    AC_MSG_WARN([*** Can not use slang when cross-compiling]))],
    AC_MSG_WARN([*** Can not use slang when cross-compiling])),
Chris Allegretta's avatar
Chris Allegretta committed
357
	    AC_MSG_ERROR([
358
359
*** The header file slcurses.h was not found.  If you wish to use
*** slang support this header file is required.  Please either
Chris Allegretta's avatar
Chris Allegretta committed
360
*** install a version of slang that includes the slcurses.h file or
361
*** do not call the configure script with --with-slang.]))
362
	fi
Chris Allegretta's avatar
Chris Allegretta committed
363

364
365
366
	if test "${_libs+set}" = "set"; then
	    LIBS=$_libs
	fi
367

368
	if test x$with_slang != xyes; then
369
370
	    LDFLAGS=${_ldflags}
	fi
Chris Allegretta's avatar
Chris Allegretta committed
371
	;;
372
    esac], [AC_MSG_RESULT(no)])
Chris Allegretta's avatar
Chris Allegretta committed
373

374
AM_CONDITIONAL(USE_COLOR, test x$color_support = xyes)
375
AM_CONDITIONAL(USE_NANORC, test x$nanorc_support = xyes)
376

377
378
dnl Checks for functions.

379
AC_CHECK_FUNCS(getdelim getline isblank strcasecmp strcasestr strncasecmp strnlen vsnprintf)
380

381
if test x$enable_utf8 != xno; then
382
    AC_CHECK_FUNCS(iswalnum iswblank iswpunct iswspace nl_langinfo mblen mbstowcs mbtowc wctomb wcwidth)
383
384
fi

385
if test x$ac_cv_func_vsnprintf = xno; then
386
387
    AM_PATH_GLIB_2_0(2.0.0,,
	AC_MSG_ERROR([
388
389
390
*** vsnprintf() not found.  GLIB 2.x not found either.  You should
*** install the GLIB 2.x library which can be found at
*** ftp://ftp.gtk.org/.]),
391
	glib)
Chris Allegretta's avatar
Chris Allegretta committed
392
393
394
395
396
397
398
399
400
401
fi

dnl Checks for typedefs, structures, and compiler characteristics.

dnl Checks for library functions.
AC_TYPE_SIGNAL
AC_FUNC_VPRINTF
AC_CHECK_FUNCS(getopt_long)

dnl Checks for libraries.
402
403

if eval "test x$CURSES_LIB_NAME = x"; then
404
    AC_CHECK_HEADERS(ncurses.h)
405

406
    if test x$enable_utf8 != xno; then
407
	AC_CHECK_LIB(ncursesw, get_wch, [CURSES_LIB="-lncursesw" CURSES_LIB_NAME=ncursesw CURSES_LIB_WIDE=yes])
408
409
    fi

410
    if eval "test x$CURSES_LIB_NAME = x"; then
411
	AC_CHECK_LIB(ncurses, initscr, [CURSES_LIB="-lncurses" CURSES_LIB_NAME=ncurses])
412
    fi
Chris Allegretta's avatar
Chris Allegretta committed
413
414
fi

415
if eval "test x$CURSES_LIB_NAME = x"; then
416
    AC_CHECK_HEADERS(curses.h)
417

418
    if test x$enable_utf8 != xno; then
419
	AC_CHECK_LIB(curses, get_wch, [CURSES_LIB="-lcurses" CURSES_LIB_NAME=curses CURSES_LIB_WIDE=yes])
420
421
    fi

422
    if eval "test x$CURSES_LIB_NAME = x"; then
423
424
	 AC_CHECK_LIB(curses, initscr, [CURSES_LIB="-lcurses" CURSES_LIB_NAME=curses])
    fi
Chris Allegretta's avatar
Chris Allegretta committed
425
426
fi

427
if eval "test x$CURSES_LIB_NAME = x"; then
Chris Allegretta's avatar
Chris Allegretta committed
428
    AC_MSG_WARN([
429
*** No curses lib available.  Consider getting the official ncurses
Chris Allegretta's avatar
Chris Allegretta committed
430
431
432
*** distribution from ftp://ftp.gnu.org/pub/gnu/ncurses if you get
*** errors compiling nano.])
else
433
    AC_MSG_RESULT([Using $CURSES_LIB_NAME as the curses library])
Chris Allegretta's avatar
Chris Allegretta committed
434
435
fi

David Lawrence Ramsey's avatar
David Lawrence Ramsey committed
436
AC_CHECK_LIB([$CURSES_LIB_NAME], use_default_colors, AC_DEFINE(HAVE_USE_DEFAULT_COLORS, 1, [Define this if your curses library has the use_default_colors() command.]))
437

438
dnl Parse any configure options.
Chris Allegretta's avatar
Chris Allegretta committed
439
440

LIBS="$LIBS $CURSES_LIB"
Chris Allegretta's avatar
Chris Allegretta committed
441

Chris Allegretta's avatar
Chris Allegretta committed
442
443
AC_SUBST(CURSES_LIB)

444
if test "x$GLIB_CFLAGS" != "x"; then
445
    CFLAGS="$CFLAGS $GLIB_CFLAGS"
Chris Allegretta's avatar
Chris Allegretta committed
446
fi
447
if test "x$GLIB_LIBS" != "x"; then
448
    LDFLAGS="$LDFLAGS $GLIB_LIBS"
Chris Allegretta's avatar
Chris Allegretta committed
449
450
fi

451
if test x$enable_utf8 != xno && \
David Lawrence Ramsey's avatar
David Lawrence Ramsey committed
452
453
454
455
    test x$CURSES_LIB_WIDE = xyes && \
    test x$ac_cv_func_iswalnum = xyes && \
    test x$ac_cv_func_iswpunct = xyes && \
    (test x$ac_cv_func_iswblank = xyes || test x$ac_cv_func_iswspace = xyes) && \
456
    test x$ac_cv_func_nl_langinfo = xyes && \
David Lawrence Ramsey's avatar
David Lawrence Ramsey committed
457
458
459
460
461
    test x$ac_cv_func_mblen = xyes && \
    test x$ac_cv_func_mbstowcs = xyes && \
    test x$ac_cv_func_mbtowc = xyes && \
    test x$ac_cv_func_wctomb = xyes && \
    test x$ac_cv_func_wcwidth = xyes; then
462
	AC_DEFINE(ENABLE_UTF8, 1, [Define this if your system has sufficient UTF-8 support (a wide curses library, iswalnum(), iswpunct(), iswblank() or iswspace(), nl_langinfo, mblen(), mbstowcs(), mbtowc(), wctomb(), and wcwidth()).])
463
else
464
    if test x$enable_utf8 = xyes; then
465
466
467
468
469
470
	AC_MSG_ERROR([
*** UTF-8 support was requested, but insufficient UTF-8 support was
*** detected in your curses and/or C libraries.  Please verify that your
*** slang was built with UTF-8 support or your curses was built with
*** wide character support, and that your C library was built with wide
*** character support.])
471
    elif test x$enable_utf8 != xno; then
472
473
474
475
476
477
478
	AC_MSG_WARN([
*** Insufficient UTF-8 support was detected in your curses and/or C
*** libraries.  If you want UTF-8 support, please verify that your slang
*** was built with UTF-8 support or your curses was built with wide
*** character support, and that your C library was built with wide
*** character support.])
    fi
479
480
fi

Jordi Mallach's avatar
Jordi Mallach committed
481
482
483
AC_CONFIG_FILES([
Makefile
doc/Makefile
484
doc/nanorc.sample
Jordi Mallach's avatar
Jordi Mallach committed
485
486
doc/man/Makefile
doc/man/fr/Makefile
487
doc/syntax/Makefile
Jordi Mallach's avatar
Jordi Mallach committed
488
489
490
491
492
493
494
doc/texinfo/Makefile
m4/Makefile
po/Makefile.in
src/Makefile
nano.spec
])

Jordi Mallach's avatar
Jordi Mallach committed
495
AC_OUTPUT