diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2021-06-07 23:24:20 +0200 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2021-06-08 19:10:03 +0200 |
commit | 58dee5546e38a17f597bbd2da76d527eaa729282 (patch) | |
tree | b4f381d94a32158eb797fa0e16875f7685f6f3c1 /distribute.mk.in | |
parent | bb08565b91c21e1ffaf0b4b4f0750a52dbb87af2 (diff) | |
download | sciteco-58dee5546e38a17f597bbd2da76d527eaa729282.tar.gz |
improved PDCurses detection
* follow the current terminology:
* PDCurses/Win32a is now called PDCursesMod and includes all other PDCurses ports as well.
The Win32 GUI port is now called PDCurses/WinGUI.
* PDCurses/Win32 is now called PDCurses/WinCon.
* Since PDCursesMod supports WinCon as well, we use the PDCURSES_MOD macro only
to detect PDCursesMod API extensions.
GUIs (detached from system console) might be available both in classic PDCurses as well
as in PDCursesMod.
Only PDCursesMod allows detection of the port used *at runtime* using PDC_get_version().
We therefore introduced a --with-interface=pdcurses-gui that must be given whenever
compiling for any kind of GUI port (including SDL on "classic" PDCurses).
* The PDCURSES macro is used to detect all PDCurses (whether classic or PDCursesMod) API extensions.
* __PDCURSES__ is used to detect PDCurses whenever API extensions are not required.
* Assume that A_UNDERLINE now works even on WinCon.
Diffstat (limited to 'distribute.mk.in')
-rw-r--r-- | distribute.mk.in | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/distribute.mk.in b/distribute.mk.in index 18e0fe6..e5dc0ac 100644 --- a/distribute.mk.in +++ b/distribute.mk.in @@ -96,9 +96,10 @@ ppa : debian-source # If we ever build a non-console version on Windows, # we should include gspawn-win32-helper.exe instead. # -# When linking in PDCurses/win32a statically, the +# When linking in PDCursesMod/WinGUI statically, the # environment variable PDCURSES_LIBS should be set to -# "-lpdcurses -lgdi32 -lcomdlg32" +# "-lpdcurses -lgdi32 -lcomdlg32 -lwinmm" +# Also, don't forget to set MINGW_UI=pdcurses-gui. MINGW_UI=pdcurses mingw-binary : @PACKAGE@-@PACKAGE_VERSION@-win32.zip |