Fixed few things for easier compilation with FLTK 1.3.

Forbidden asciidoc to read /etc/asciidoc folder, as it could have newer incopatible asciidoc config files.
This commit is contained in:
Sanel Zukan 2011-08-03 12:20:37 +00:00
parent f978ef01f8
commit 394566a9a5
3 changed files with 11 additions and 9 deletions

View File

@ -3944,7 +3944,7 @@ def asciidoc(backend, doctype, confiles, infile, outfile, options):
raise EAsciiDoc,'input file %s missing' % infile
if '-e' not in options:
# Load global configuration from system configuration directory.
config.load_all(GLOBAL_CONFIG_DIR)
#config.load_all(GLOBAL_CONFIG_DIR)
# Load global configuration files from asciidoc directory.
config.load_all(APP_DIR)
# Load configuration files from ~/.asciidoc if it exists.

View File

@ -14,6 +14,8 @@
#include <config.h>
#endif
#define FL_LIBRARY 1
#include <FL/Fl.H>
#include <FL/fl_draw.H>
#include <FL/Fl_Shared_Image.H>

View File

@ -20,14 +20,14 @@
#include <sys/stat.h>
#include <errno.h>
#include <Fl/Fl.H>
#include <Fl/Fl_Double_Window.H>
#include <Fl/Fl_Button.H>
#include <Fl/Fl_Shared_Image.H>
#include <Fl/Fl_Scroll.H>
#include <Fl/Fl_Widget.H>
#include <Fl/Fl_File_Chooser.H>
#include <Fl/filename.H>
#include <FL/Fl.H>
#include <FL/Fl_Double_Window.H>
#include <FL/Fl_Button.H>
#include <FL/Fl_Shared_Image.H>
#include <FL/Fl_Scroll.H>
#include <FL/Fl_Widget.H>
#include <FL/Fl_File_Chooser.H>
#include <FL/filename.H>
#include <edelib/Ede.h>
#define DEBUG 1