8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 21:23:04 +01:00

Disabled gpre's BASIC and PL/1 support in configure. There's no such

implementation.
This commit is contained in:
eku 2002-12-03 13:58:40 +00:00
parent 163e955bed
commit 6f051cbb7d
6 changed files with 28 additions and 16 deletions

View File

@ -1,4 +1,4 @@
dnl $Id: configure.in,v 1.101 2002-12-03 11:47:15 eku Exp $
dnl $Id: configure.in,v 1.102 2002-12-03 13:58:39 eku Exp $
dnl ############################# INITIALISATION ###############################
@ -210,6 +210,8 @@ AC_SUBST(FB_SERVICE_NAME)
AC_SUBST(FB_SERVICE_PORT)
dnl gpre built-in language support (C/C++ are mandatory)
dnl
dnl EKU: BASIC and PL/1 disabled temporary, 'cause implementation is missing
GPRE_LANGUAGE_MODULES=""
AC_ARG_WITH(gpre-ada,
[ --with-gpre-ada support ADA in gpre (default=no)],
@ -219,13 +221,13 @@ AC_ARG_WITH(gpre-ada,
no) ;;
*) AC_MSG_ERROR(bad value '${withval}' for --with-gpre-ada);;
esac])
AC_ARG_WITH(gpre-basic,
[ --with-gpre-basic support BASIC in gpre (default=no)],
[case "$withval" in
yes) AC_DEFINE(GRPE_BASIC);;
no) ;;
*) AC_MSG_ERROR(bad value '${withval}' for --with-gpre-basic);;
esac])
dnl AC_ARG_WITH(gpre-basic,
dnl [ --with-gpre-basic support BASIC in gpre (default=no)],
dnl [case "$withval" in
dnl yes) AC_DEFINE(GRPE_BASIC);;
dnl no) ;;
dnl *) AC_MSG_ERROR(bad value '${withval}' for --with-gpre-basic);;
dnl esac])
AC_ARG_WITH(gpre-cobol,
[ --with-gpre-cobol support COBOL in gpre (default=no)],
[case "$withval" in
@ -250,6 +252,13 @@ AC_ARG_WITH(gpre-pascal,
no) ;;
*) AC_MSG_ERROR(bad value '${withval}' for --with-gpre-pascal);;
esac])
dnl AC_ARG_WITH(gpre-pli,
dnl [ --with-gpre-pli support PL/1 in gpre (default=no)],
dnl [case "$withval" in
dnl yes) AC_DEFINE(GRPE_PLI);;
dnl no) ;;
dnl *) AC_MSG_ERROR(bad value '${withval}' for --with-gpre-pli);;
dnl esac])
AC_SUBST(GPRE_LANGUAGE_MODULES)

View File

@ -20,7 +20,7 @@
//
// All Rights Reserved.
// Contributor(s): ______________________________________.
// $Id: gpre.cpp,v 1.15 2002-12-02 11:17:03 eku Exp $
// $Id: gpre.cpp,v 1.16 2002-12-03 13:58:40 eku Exp $
// Revision 1.2 2000/11/16 15:54:29 fsg
// Added new switch -verbose to gpre that will dump
// parsed lines to stderr
@ -42,7 +42,7 @@
//
//____________________________________________________________
//
// $Id: gpre.cpp,v 1.15 2002-12-02 11:17:03 eku Exp $
// $Id: gpre.cpp,v 1.16 2002-12-03 13:58:40 eku Exp $
//
#define GPRE_MAIN
@ -198,7 +198,7 @@ static struct ext_table_t dml_ext_table[] =
{ lang_basic, IN_SW_GPRE_BAS, ".ebas", ".bas" },
#endif
#ifdef PLI
#ifdef GPRE_PLI
{ lang_pli, IN_SW_GPRE_PLI, ".epli", ".pli" },
#endif
@ -621,7 +621,7 @@ int main(int argc, char* argv[])
break;
#endif
#ifdef PLI
#ifdef GPRE_PLI
case IN_SW_GPRE_PLI:
sw_case = TRUE;
sw_language = lang_pli;

View File

@ -19,7 +19,7 @@
*
* All Rights Reserved.
* Contributor(s): ______________________________________.
* $Id: gpre.h,v 1.22 2002-12-02 11:17:03 eku Exp $
* $Id: gpre.h,v 1.23 2002-12-03 13:58:40 eku Exp $
* Revision 1.3 2000/11/27 09:26:13 fsg
* Fixed bugs in gpre to handle PYXIS forms
* and allow edit.e and fred.e to go through
@ -91,6 +91,7 @@ extern "C" {
#undef GPRE_COBOL
#undef GPRE_FORTRAN
#undef GPRE_PASCAL
#undef GPRE_PLI
#undef FTN_BLK_DATA
#endif

View File

@ -19,7 +19,7 @@
*
* All Rights Reserved.
* Contributor(s): ______________________________________.
* $Id: gpreswi.h,v 1.5 2002-12-02 11:17:03 eku Exp $
* $Id: gpreswi.h,v 1.6 2002-12-03 13:58:40 eku Exp $
* Revision 1.2 2000/11/16 15:54:29 fsg
* Added new switch -verbose to gpre that will dump
* parsed lines to stderr
@ -161,7 +161,7 @@ static struct in_sw_tab_t gpre_in_sw_table[] =
#ifdef GPRE_BASIC
{IN_SW_GPRE_BAS , 0, "BASIC" , 0, 0, 0, FALSE, 0, 0, "\t\textended BASIC program"},
#endif
#ifdef PLI
#ifdef GPRE_PLI
{IN_SW_GPRE_PLI , 0, "PLI" , 0, 0, 0, FALSE, 0, 0, "\t\textended PLI program"},
#endif
#ifdef GPRE_COBOL

View File

@ -172,6 +172,7 @@
#define GPRE_COBOL
#undef GPRE_FORTRAN
#define GPRE_PASCAL
#undef GPRE_PLI
/* Maximum allowed pathname length */
#define MAXPATHLEN 260 // should correspond to MAX_PATH define in windef.h

View File

@ -1,4 +1,4 @@
#ident "$Id: config.h.in,v 1.63 2002-12-02 11:17:04 eku Exp $"
#ident "$Id: config.h.in,v 1.64 2002-12-03 13:58:40 eku Exp $"
/*
* 2002.02.15 Sean Leyne - Code Cleanup, removed obsolete ports:
@ -149,6 +149,7 @@
#undef GPRE_COBOL
#undef GPRE_FORTRAN
#undef GPRE_PASCAL
#undef GPRE_PLI
/* Support /proc/self/exe as link to current executable
enables us to find path to install directory (Linux only) */