Skip to content
This repository has been archived by the owner on Jun 4, 2019. It is now read-only.

Commit

Permalink
configure external/ocamlnet/ in ./configure
Browse files Browse the repository at this point in the history
  • Loading branch information
pad committed Feb 24, 2011
1 parent e49cf16 commit fd2941f
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 15 deletions.
20 changes: 20 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -277,3 +277,23 @@ external/ocamlbdb/libcamlbdb.a
/external/ocamlnet/netstring/netmappings_jp.ml
/external/ocamlnet/netstring/netmappings_kr.ml
/external/ocamlnet/netstring/netmappings_other.ml
/external/ocamlnet/netsys/configtests/atfunctions.err
/external/ocamlnet/netsys/configtests/fchdir
/external/ocamlnet/netsys/configtests/fchdir.err
/external/ocamlnet/netsys/configtests/fdopendir.err
/external/ocamlnet/netsys/configtests/ocaml_fancy_page_tables
/external/ocamlnet/netsys/configtests/ocaml_fancy_page_tables.err
/external/ocamlnet/netsys/configtests/posix_fadvise.err
/external/ocamlnet/netsys/configtests/posix_fallocate.err
/external/ocamlnet/netsys/configtests/posix_memalign
/external/ocamlnet/netsys/configtests/posix_memalign.err
/external/ocamlnet/netsys/configtests/posix_pthread
/external/ocamlnet/netsys/configtests/posix_pthread.err
/external/ocamlnet/netsys/configtests/posix_sem
/external/ocamlnet/netsys/configtests/posix_sem.err
/external/ocamlnet/netsys/configtests/posix_shm
/external/ocamlnet/netsys/configtests/posix_shm.err
/external/ocamlnet/netsys/configtests/printexc_register_printer.err
/external/ocamlnet/netsys/configtests/syslog
/external/ocamlnet/netsys/configtests/syslog.err
/external/ocamlnet/netsys/netsys_types.ml
8 changes: 7 additions & 1 deletion configure
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ my $graphics=0; # X11 graphics.cma
my $visual=1; # cairo, codemap
my $gui=1; # gtk, pfff_browser

my $ocamlnet = 1;
my $pcre=1;

# not very stable
Expand Down Expand Up @@ -258,7 +259,12 @@ if($pcre) {
# system("cd external/ocamlgraph; ./configure");
#}

#TODO: my $err = system("cd external/ocamlnet; ./configure");
if(1) {
pr2 "";
pr2 "Configuring ocamlnet";
my $err = system("cd external/ocamlnet/netsys; ./configure");
if ($err) { $ocamlnet = 0; $error2++; }
}

if($gui) {
pr2 "";
Expand Down
1 change: 0 additions & 1 deletion external/ocamlnet/netsys/Makefile.conf

This file was deleted.

13 changes: 0 additions & 13 deletions external/ocamlnet/netsys/config.h

This file was deleted.

0 comments on commit fd2941f

Please sign in to comment.