From 6245e78378bd311b44cd0fac64d85f31bab74cde Mon Sep 17 00:00:00 2001 From: Perry Werneck Date: Mon, 4 Jan 2021 20:39:29 -0300 Subject: [PATCH] Still working in the Arch builds. --- autogen.sh | 10 +++++----- src/include/config.h.in | 283 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 2 files changed, 104 insertions(+), 189 deletions(-) diff --git a/autogen.sh b/autogen.sh index 8cdf361..8866cb6 100755 --- a/autogen.sh +++ b/autogen.sh @@ -21,11 +21,11 @@ if test $? != 0 ; then exit -1 fi -autoheader --force -if test $? != 0 ; then - echo "autoheader failed." - exit -1 -fi +#autoheader --force +#if test $? != 0 ; then +# echo "autoheader failed." +# exit -1 +#fi autoconf --force if test $? != 0 ; then diff --git a/src/include/config.h.in b/src/include/config.h.in index 8996f02..5d83003 100644 --- a/src/include/config.h.in +++ b/src/include/config.h.in @@ -1,185 +1,100 @@ -/* src/include/config.h.in. Generated from configure.ac by autoheader. */ +/* + * Software pw3270, desenvolvido com base nos códigos fontes do C3270 e X3270 + * (Paul Mattes Paul.Mattes@usa.net), de emulação de terminal 3270 para acesso a + * aplicativos mainframe. Registro no INPI sob o nome G3270. + * + * Copyright (C) <2008> + * + * Este programa é software livre. Você pode redistribuí-lo e/ou modificá-lo sob + * os termos da GPL v.2 - Licença Pública Geral GNU, conforme publicado pela + * Free Software Foundation. + * + * Este programa é distribuído na expectativa de ser útil, mas SEM QUALQUER + * GARANTIA; sem mesmo a garantia implícita de COMERCIALIZAÇÃO ou de ADEQUAÇÃO + * A QUALQUER PROPÓSITO EM PARTICULAR. Consulte a Licença Pública Geral GNU para + * obter mais detalhes. + * + * Você deve ter recebido uma cópia da Licença Pública Geral GNU junto com este + * programa; se não, escreva para a Free Software Foundation, Inc., 59 Temple + * Place, Suite 330, Boston, MA, 02111-1307, USA + * + * Este programa está nomeado como config.h.in e possui - linhas de código. + * + * Contatos: + * + * perry.werneck@gmail.com (Alexandre Perry de Souza Werneck) + * erico.mendonca@gmail.com (Erico Mascarenhas de Mendonça) + * + */ + +#ifndef LIB3270_CONFIG_INCLUDED + + #define LIB3270_CONFIG_INCLUDED 1 + + /* Version info */ + #undef PACKAGE_NAME + #undef PRODUCT_NAME + #undef PACKAGE_VERSION + #undef PACKAGE_RELEASE + #undef LIB3270_NAME + #undef GETTEXT_PACKAGE + + #undef RPQ_BUILD_DATE + #undef RPQ_TIMESTAMP_VALUE + #undef RPQ_REVISION + #undef SCCS_USER + #undef SCCS_DATE + + /* Default settings */ + + /** @brief The lib3270's default host URL */ + #undef LIB3270_DEFAULT_HOST + + #undef LIB3270_DATADIR + + /** @brief the delay, in miliseconds, between the host unlocking the keyboard and lib3270 actually performing the unlock */ + #define UNLOCK_MS 350 + + /* Library options */ + #undef HAVE_GNUC_VISIBILITY + #undef HAVE_LIBINTL + #undef HAVE_GETADDRINFO + #undef HAVE_VASPRINTF + #undef HAVE_INET_NTOP + #undef HAVE_LIBCURL + #undef HAVE_SYSLOG + + #undef HAVE_ICONV + #undef ICONV_CONST + + /* Security options */ + #undef HAVE_LDAP + #undef HAVE_LIBSSL + + #undef SSL_ENABLE_SELF_SIGNED_CERT_CHECK + + #undef SSL_ENABLE_CRL_CHECK + #undef SSL_ENABLE_CRL_EXPIRATION_CHECK + #undef SSL_ENABLE_NOTIFICATION_WHEN_FAILED + + /* If defined uses a hardcoded CRL path */ + #undef SSL_CRL_URL + + /* Optional parts. */ + #undef X3270_DBCS + #undef X3270_SCRIPT + + #define X3270_TN3270E + #define X3270_ANSI + #define X3270_APL + + #define X3270_TRACE + #define X3270_FT + + #undef HAVE_PRINTER + #undef HAVE_MALLOC_H + #undef HAVE_STRTOK_R + #undef HAVE_LOCALTIME_R + +#endif /* LIB3270_CONFIG_INCLUDED */ -/* The gettext package name. */ -#undef GETTEXT_PACKAGE - -/* Define to 1 if you have the header file. */ -#undef HAVE_DLFCN_H - -/* Define to 1 if you have the `getaddrinfo' function. */ -#undef HAVE_GETADDRINFO - -/* supports GCC visibility attributes */ -#undef HAVE_GNUC_VISIBILITY - -/* Define if you have the iconv() function and it works. */ -#undef HAVE_ICONV - -/* Do we have inet_ntop()? */ -#undef HAVE_INET_NTOP - -/* Define to 1 if you have the header file. */ -#undef HAVE_INTTYPES_H - -/* LDAP is available */ -#undef HAVE_LDAP - -/* Define to 1 if you have the header file. */ -#undef HAVE_LDAP_H - -/* Do we have libcurl? */ -#undef HAVE_LIBCURL - -/* Libintl is available */ -#undef HAVE_LIBINTL - -/* Do we have libssl? */ -#undef HAVE_LIBSSL - -/* Do we have localtime_r? */ -#undef HAVE_LOCALTIME_R - -/* do we have malloc.h? */ -#undef HAVE_MALLOC_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_MEMORY_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_STDINT_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_STDLIB_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_STRINGS_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_STRING_H - -/* Do we have strtok_r? */ -#undef HAVE_STRTOK_R - -/* do we have syslog.h? */ -#undef HAVE_SYSLOG - -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_STAT_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_TYPES_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_UNISTD_H - -/* Do we have vasprintf? */ -#undef HAVE_VASPRINTF - -/* Define as const if the declaration of iconv() needs const. */ -#undef ICONV_CONST - -/* "The default tn3270 host" */ -#undef LIB3270_DEFAULT_HOST - -/* The protocol library name */ -#undef LIB3270_NAME - -/* The SDK version number */ -#undef LIB3270_SDK_VERSION - -/* Define to the sub-directory where libtool stores uninstalled libraries. */ -#undef LT_OBJDIR - -/* Name of package */ -#undef PACKAGE - -/* Define to the address where bug reports for this package should be sent. */ -#undef PACKAGE_BUGREPORT - -/* The library major release */ -#undef PACKAGE_MAJOR_RELEASE - -/* The library major version */ -#undef PACKAGE_MAJOR_VERSION - -/* The library minor release */ -#undef PACKAGE_MINOR_RELEASE - -/* The library minor version */ -#undef PACKAGE_MINOR_VERSION - -/* Define to the full name of this package. */ -#undef PACKAGE_NAME - -/* The package release */ -#undef PACKAGE_RELEASE - -/* Define to the full name and version of this package. */ -#undef PACKAGE_STRING - -/* Define to the one symbol short name of this package. */ -#undef PACKAGE_TARNAME - -/* Define to the home page for this package. */ -#undef PACKAGE_URL - -/* Define to the version of this package. */ -#undef PACKAGE_VERSION - -/* The product name */ -#undef PRODUCT_NAME - -/* The RPQ build date */ -#undef RPQ_BUILD_DATE - -/* The RPQ revision */ -#undef RPQ_REVISION - -/* The RPQ timestamp */ -#undef RPQ_TIMESTAMP_VALUE - -/* The build date */ -#undef SCCS_DATE - -/* The build user */ -#undef SCCS_USER - -/* The default URL for CRL download */ -#undef SSL_CRL_URL - -/* Should we check the CRL? */ -#undef SSL_ENABLE_CRL_CHECK - -/* Should we check the CRL expiration date? */ -#undef SSL_ENABLE_CRL_EXPIRATION_CHECK - -/* Should we emit a notification when ssl validation fails? */ -#undef SSL_ENABLE_NOTIFICATION_WHEN_FAILED - -/* Should we accept self signed cert? */ -#undef SSL_ENABLE_SELF_SIGNED_CERT_CHECK - -/* Define to 1 if you have the ANSI C header files. */ -#undef STDC_HEADERS - -/* The delay, in miliseconds, between the host unlocking the keyboard and - lib3270 actually performing the unlock */ -#undef UNLOCK_MS - -/* Version number of package */ -#undef VERSION - -/* X3270 compatibility */ -#undef X3270_ANSI - -/* X3270 compatibility */ -#undef X3270_APL - -/* X3270 compatibility */ -#undef X3270_FT - -/* X3270 compatibility */ -#undef X3270_TN3270E - -/* X3270 compatibility */ -#undef X3270_TRACE -- libgit2 0.21.2