/* config.h. Generated from config.h.in by configure. */
/* config.h.in. Generated from configure.ac by autoheader. */
+/* Define to 1 if you have support for symbol aliasing */
+#define HAVE_ATTRIBUTE_ALIAS 1
+
/* Set if you want support for calling /bin/login */
#define HAVE_BIN_LOGIN 1
#define STDC_HEADERS 1
/* Most recent revision number in the version control system */
-#define VCS_REVISION "228"
+#define VCS_REVISION "229"
/* Version number of package */
#define VERSION "2.10"
/* config.h.in. Generated from configure.ac by autoheader. */
+/* Define to 1 if you have support for symbol aliasing */
+#undef HAVE_ATTRIBUTE_ALIAS
+
/* Set if you want support for calling /bin/login */
#undef HAVE_BIN_LOGIN
ac_compiler_gnu=$ac_cv_c_compiler_gnu
-VCS_REVISION=228
+VCS_REVISION=229
cat >>confdefs.h <<_ACEOF
$as_echo "#define HAVE_UPDWTMPX 1" >>confdefs.h
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+void x(void) { };
+ void y(void) __attribute__((alias("x")));
+int
+main ()
+{
+y();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+
+$as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
+
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
dnl This is the one location where the authoritative version number is stored
AC_INIT(shellinabox, 2.10, markus@shellinabox.com)
-VCS_REVISION=228
+VCS_REVISION=229
AC_SUBST(VCS_REVISION)
AC_DEFINE_UNQUOTED(VCS_REVISION, "${VCS_REVISION}",
[Most recent revision number in the version control system])
[AC_DEFINE(HAVE_UPDWTMPX, 1,
Define to 1 if you have support for updwtmpx)])
+dnl Check if the compiler supports aliasing of symbols
+AC_TRY_LINK([void x(void) { };
+ void y(void) __attribute__((alias("x")));],
+ [y();],
+ [AC_DEFINE(HAVE_ATTRIBUTE_ALIAS, 1,
+ Define to 1 if you have support for symbol aliasing)])
+
dnl On some systems, calling /bin/login does not work. Disable the LOGIN
dnl feature, if the user tells us that it does not do the right thing.
AC_ARG_ENABLE(login,
};
VT100.prototype.about = function() {
- alert("VT100 Terminal Emulator " + "2.10 (revision 228)" +
+ alert("VT100 Terminal Emulator " + "2.10 (revision 229)" +
"\nCopyright 2008-2010 by Markus Gutschke\n" +
"For more information check http://shellinabox.com");
};
}
char *stringPrintfUnchecked(char *buf, const char *fmt, ...)
+#ifdef HAVE_ATTRIBUTE_ALIAS
__attribute__((alias("stringPrintf")));
+#else
+{
+ va_list ap;
+ va_start(ap, fmt);
+ char *s = vStringPrintf(buf, fmt, ap);
+ va_end(ap);
+ return s;
+}
+#endif
+
};
ShellInABox.prototype.about = function() {
- alert("Shell In A Box version " + "2.10 (revision 228)" +
+ alert("Shell In A Box version " + "2.10 (revision 229)" +
"\nCopyright 2008-2010 by Markus Gutschke\n" +
"For more information check http://shellinabox.com" +
(typeof serverSupportsSSL != 'undefined' && serverSupportsSSL ?
};
VT100.prototype.about = function() {
- alert("VT100 Terminal Emulator " + "2.10 (revision 228)" +
+ alert("VT100 Terminal Emulator " + "2.10 (revision 229)" +
"\nCopyright 2008-2010 by Markus Gutschke\n" +
"For more information check http://shellinabox.com");
};