about summary refs log tree commit diff
path: root/configure.ac
diff options
context:
space:
mode:
authorWayne Davison <wayned@users.sourceforge.net>2005-08-17 17:21:13 +0000
committerWayne Davison <wayned@users.sourceforge.net>2005-08-17 17:21:13 +0000
commit036f36af8db9f1bdcc3c37cdd175927c5d80f8ed (patch)
tree07849b32a73cd51106b00f070958b6df53516747 /configure.ac
parentde215777ed22e6c2ae5d7d3a4de589939adf149a (diff)
downloadzsh-036f36af8db9f1bdcc3c37cdd175927c5d80f8ed.tar.gz
zsh-036f36af8db9f1bdcc3c37cdd175927c5d80f8ed.tar.xz
zsh-036f36af8db9f1bdcc3c37cdd175927c5d80f8ed.zip
Removed superfluous main() from AC_TRY_COMPILE.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 1 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 62e5d4a4c..53f6cf4bd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2076,15 +2076,13 @@ AC_ARG_ENABLE(multibyte,
 # include <locale.h>
 #endif
    ], [
-int main() {
 #if defined(HAVE_WCHAR_H) && defined(HAVE_WCTOMB) \
  && defined(HAVE_MBRTOWC) && defined(HAVE_WCRTOMB) \
  && defined (__STDC_ISO_10646__)
-    return 0;
+    /* All is well */
 #else
 # error Not supported.
 #endif
-}
   ],
     zsh_cv_c_zle_unicode_support=yes,
     zsh_cv_c_zle_unicode_support=no)])