Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cduce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
19
Issues
19
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cduce
cduce
Commits
fef7b6a6
Commit
fef7b6a6
authored
Feb 16, 2008
by
Pietro Abate
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- add --with[out]-cgi to configure.ml
parent
80454c16
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
6 deletions
+18
-6
Makefile.distrib
Makefile.distrib
+7
-5
configure.ml
configure.ml
+11
-1
No files found.
Makefile.distrib
View file @
fef7b6a6
...
...
@@ -16,7 +16,7 @@ ifeq ($(NATIVE),true)
all
:
cduce_lib.cmxa
endif
PACKAGES
=
camlp4 ulex pcre num netstring
cgi
PACKAGES
=
camlp4 ulex pcre num netstring
# Call make with VERBOSE=true to get a trace of commands
...
...
@@ -205,10 +205,12 @@ else
endif
ifeq
($(PXP),true)
OBJECTS
+=
runtime/cduce_pxp.cmo
PACKAGES
+=
$(PXP_PACK)
ALL_TARGET
+=
dtd2cduce
INSTALL_BINARIES
+=
dtd2cduce
ifeq
($(CGI),true)
OBJECTS
+=
runtime/cduce_pxp.cmo
PACKAGES
+=
$(PXP_PACK)
cgi
ALL_TARGET
+=
dtd2cduce
INSTALL_BINARIES
+=
dtd2cduce
endif
endif
ifeq
($(EXPAT), true)
OBJECTS
+=
runtime/cduce_expat.cmo
...
...
configure.ml
View file @
fef7b6a6
...
...
@@ -29,6 +29,7 @@ Optional features:
expat support for the expat XML parser
curl support for the libcurl library
netclient support for the netclient library
cgi support for the cgi library [default: false]
OCaml/CDuce interface:
--mliface=DIR build the interface with the OCaml sources in DIR
...
...
@@ -54,6 +55,7 @@ let features =
"expat"
,
ref
`auto
;
"curl"
,
ref
`auto
;
"netclient"
,
ref
`auto
;
"cgi"
,
ref
`no
;
"pxp_wlex"
,
ref
`no
]
let
vars
=
...
...
@@ -209,6 +211,7 @@ let pxp = check_feature "pxp" (check_pkg "pxp")
let
expat
=
check_feature
"expat"
(
check_pkg
"expat"
)
let
curl
=
check_feature
"curl"
(
check_pkg
"curl"
)
let
netclient
=
check_feature
"netclient"
(
check_pkg
"netclient"
)
let
cgi
=
check_feature
"cgi"
(
check_pkg
"cgi"
)
let
pxp_wlex
=
check_feature
"pxp_wlex"
(
check_pkg
"pxp-wlex-utf8"
)
let
prefix
=
dir
"prefix"
let
bindir
=
dir
~
def
:
(
prefix
^
"/bin"
)
"bindir"
...
...
@@ -239,7 +242,13 @@ let pxp,expat =
false
,
false
|
c
,
n
->
c
,
n
let
required_packages
=
[
"camlp4"
;
"num"
;
"pcre"
;
"ulex"
;
"cgi"
;
"netstring"
]
let
cgi
=
if
not
(
cgi
)
then
(
warning
"No package to build dtd2cduce and the web interface"
;
false
)
else
true
let
required_packages
=
[
"camlp4"
;
"num"
;
"pcre"
;
"ulex"
;
"netstring"
]
let
has_forpack
=
print
"testing for -for-pack option: "
;
...
...
@@ -279,6 +288,7 @@ let () =
fprintf
out
"EXPAT=%b
\n
"
expat
;
fprintf
out
"CURL=%b
\n
"
curl
;
fprintf
out
"NETCLIENT=%b
\n
"
netclient
;
fprintf
out
"CGI=%b
\n
"
cgi
;
fprintf
out
"PXP_WLEX=%b
\n
"
pxp_wlex
;
fprintf
out
"BINDIR=%s
\n
"
bindir
;
fprintf
out
"MANDIR=%s
\n
"
mandir
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment