Description: don't generate Win32 files
 Avoid generating useless (in Debian) Win32 files which just confuse
 things.
 .
 gprolog (1.4.5-4) unstable; urgency=medium
 .
   * lintian-motivated fixes:
     - new manpage (bad whatis entry)
     - correct source URL in copyright file
     - don't install COPYING file
   * fix several uninitialized variable warnings (in src/ subdirs)
   * don't generate Win32 files
Author: Salvador Abreu <spa@debian.org>

---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: https://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: 2016-12-11

--- gprolog-1.4.5.orig/src/EnginePl/gprolog_cst.h
+++ /dev/null
@@ -1,23 +0,0 @@
-
-#define __GNU_PROLOG__        	1
-#define __GPROLOG__           	1
-#define __GPROLOG_MINOR__     	4
-#define __GPROLOG_PATCHLEVEL__	5
-#define __GPROLOG_VERSION__   	10405
-
-#define PROLOG_DIALECT  	"gprolog"
-#define PROLOG_NAME     	"GNU Prolog"
-#define PROLOG_VERSION  	"1.4.5"
-#define PROLOG_DATE     	"Dec  4 2016"
-#define PROLOG_COPYRIGHT	"Copyright (C) 1999-2015 Daniel Diaz"
-
-#define PL_MIN_INTEGER		-1152921504606846976
-#define PL_MAX_INTEGER		1152921504606846975
-
-#define PL_REF        		0 
-#define PL_LST        		1 
-#define PL_STC        		2 
-#define PL_ATM        		3 
-#define PL_FLT        		4 
-#define PL_FDV        		5 
-#define PL_INT        		7 
--- gprolog-1.4.5.orig/src/EnginePl/wam_stacks.h
+++ /dev/null
@@ -1,67 +0,0 @@
-/* this file is automatically generated by pl_config.c */
-#define NB_OF_STACKS 		4
-
-#define Trail_Stack       	(pl_stk_tbl[0].stack)
-#define Trail_Size        	(pl_stk_tbl[0].size)
-#define Trail_Offset(adr) 	((WamWord *)(adr) - Trail_Stack)
-#define Trail_Used_Size   	Trail_Offset(TR)
-
-#define Cstr_Stack       	(pl_stk_tbl[1].stack)
-#define Cstr_Size        	(pl_stk_tbl[1].size)
-#define Cstr_Offset(adr) 	((WamWord *)(adr) - Cstr_Stack)
-#define Cstr_Used_Size   	Cstr_Offset(CS)
-
-#define Global_Stack       	(pl_stk_tbl[2].stack)
-#define Global_Size        	(pl_stk_tbl[2].size)
-#define Global_Offset(adr) 	((WamWord *)(adr) - Global_Stack)
-#define Global_Used_Size   	Global_Offset(H)
-
-#define Local_Stack       	(pl_stk_tbl[3].stack)
-#define Local_Size        	(pl_stk_tbl[3].size)
-#define Local_Offset(adr) 	((WamWord *)(adr) - Local_Stack)
-#define Local_Used_Size   	Local_Offset(Local_Top)
-
-
-#define Stack_Top(s)       	(((s) == 0) ? TR : ((s) == 1) ? CS : ((s) == 2) ? H : Local_Top)
-
-typedef struct
-{
-  char *name;
-  char *desc;
-  char *env_var_name;
-  PlLong *p_def_size;	/* used for fixed_sizes */
-  int default_size; 	/* in WamWords */
-  int size;         	/* in WamWords */
-  WamWord *stack;
-}InfStack;
-
-
-#ifdef ENGINE_FILE
-
-    /* these variables can be overwritten by top_comp.c (see stack size file) */
-PlLong pl_def_trail_size;
-PlLong pl_def_cstr_size;
-PlLong pl_def_global_size;
-PlLong pl_def_local_size;
-PlLong pl_fixed_sizes;
-
-InfStack pl_stk_tbl[] =
-{
- { "trail", "Trail Stack (undo)", "TRAILSZ", &pl_def_trail_size, 2097152, 0, NULL },
- { "cstr", "Cstr Stack (constraints)", "CSTRSZ", &pl_def_cstr_size, 2097152, 0, NULL },
- { "global", "Global Stack (heap)", "GLOBALSZ", &pl_def_global_size, 4194304, 0, NULL },
- { "local", "Local Stack (control)", "LOCALSZ", &pl_def_local_size, 2097152, 0, NULL }
-};
-
-#else
-
-extern PlLong pl_def_trail_size;
-extern PlLong pl_def_cstr_size;
-extern PlLong pl_def_global_size;
-extern PlLong pl_def_local_size;
-extern PlLong pl_fixed_sizes;
-
-
-extern InfStack pl_stk_tbl[];
-
-#endif
--- gprolog-1.4.5.orig/src/Win32/gp-vars-iss.txt
+++ /dev/null
@@ -1,9 +0,0 @@
-#define PROLOG_DIALECT             "gprolog"
-#define PROLOG_NAME                "GNU Prolog"
-#define PROLOG_VERSION             "1.4.5"
-#define PROLOG_DATE                "Dec 10 2016"
-#define PROLOG_COPYRIGHT           "Copyright (C) 1999-2016 Daniel Diaz"
-
-#define WIN_TMP_DIR                ""
-#define WIN_CC_VER                 ""
-
--- gprolog-1.4.5.orig/src/configure.in
+++ gprolog-1.4.5/src/configure.in
@@ -1013,8 +1013,10 @@ dnl * Files generation *
 dnl ********************
 
 OTHER_DOT_IN_FILES=
+OTHER_FILES="TestsPl/Makefile DevUtils/Makefile Ma2Asm/FromC/Makefile Win32/Makefile Win32/gp-vars-iss.txt"
+OTHER_FILES="TestsPl/Makefile DevUtils/Makefile Ma2Asm/FromC/Makefile"
 
-for i in TestsPl/Makefile DevUtils/Makefile Ma2Asm/FromC/Makefile Win32/Makefile Win32/gp-vars-iss.txt
+for i in $OTHER_FILES
 do
     if test -f $i.in; then
         OTHER_DOT_IN_FILES="$OTHER_DOT_IN_FILES $i"
