Markus Mottl avatar Markus Mottl committed 2576bd6

Fixed an installation problem on Cygwin

Comments (0)

Files changed (5)

+2007-03-19: Fixed an installation problem on Cygwin.
+
+            Thanks to James Cheney <james.cheney@gmail.com> for the hint!
+
 2007-02-27: Small API-change: the callback for exec is now an optional
             argument.
 
 # install rebuilds sqlite3top to point to the findlib-managed dll and not the
 # one in .
 install: sqlite3.cma sqlite3.cmxa sqlite3top
-	ocamlfind install sqlite3 META sqlite3.cmi sqlite3.mli sqlite3.cma *.cmxa *.a *.cmx *.so
+	[ -f *.so ] && SO_FILES=*.so
+	ocamlfind install sqlite3 META sqlite3.cmi sqlite3.mli sqlite3.cma *.cmxa *.a *.cmx $(SO_FILES)
 	ocamlfind ocamlmktop -o sqlite3top -package "sqlite3" sqlite3.cma
 	$(INSTALL) sqlite3top $(bindir)/sqlite3top
 
 	ocamlfind ocamlmktop -o sqlite3top sqlite3.cma
 
 sqlite3.cma: sqlite3.cmo sqlite3_stubs.o
-	ocamlmklib -o sqlite3 -oc sqlite3_stubs sqlite3.cmo sqlite3_stubs.o $(LDFLAGS) $(LIBS) $(MKLIBFLAGS)
+	ocamlmklib -o sqlite3 -oc sqlite3_stubs sqlite3.cmo sqlite3_stubs.o -L. $(LDFLAGS) $(LIBS) $(MKLIBFLAGS)
 
 sqlite3.cmxa: sqlite3.cmx sqlite3.o sqlite3_stubs.o
-	ocamlmklib -o sqlite3 -oc sqlite3_stubs sqlite3.cmx sqlite3_stubs.o $(LDFLAGS) $(LIBS) $(MKLIBFLAGS)
+	ocamlmklib -o sqlite3 -oc sqlite3_stubs sqlite3.cmx sqlite3_stubs.o -L. $(LDFLAGS) $(LIBS) $(MKLIBFLAGS)
 
 sqlite3.cmo: sqlite3.cmi sqlite3.ml
 
-release-0-13-0
+release-0-14-0
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.59 for ocaml-sqlite 0.13.0.
+# Generated by GNU Autoconf 2.59 for ocaml-sqlite 0.14.0.
 #
 # Report bugs to <markus.mottl@gmail.com>.
 #
 # Identity of this package.
 PACKAGE_NAME='ocaml-sqlite'
 PACKAGE_TARNAME='ocaml-sqlite'
-PACKAGE_VERSION='0.13.0'
-PACKAGE_STRING='ocaml-sqlite 0.13.0'
+PACKAGE_VERSION='0.14.0'
+PACKAGE_STRING='ocaml-sqlite 0.14.0'
 PACKAGE_BUGREPORT='markus.mottl@gmail.com'
 
 ac_unique_file="sqlite3.mli"
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures ocaml-sqlite 0.13.0 to adapt to many kinds of systems.
+\`configure' configures ocaml-sqlite 0.14.0 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of ocaml-sqlite 0.13.0:";;
+     short | recursive ) echo "Configuration of ocaml-sqlite 0.14.0:";;
    esac
   cat <<\_ACEOF
 
 test -n "$ac_init_help" && exit 0
 if $ac_init_version; then
   cat <<\_ACEOF
-ocaml-sqlite configure 0.13.0
+ocaml-sqlite configure 0.14.0
 generated by GNU Autoconf 2.59
 
 Copyright (C) 2003 Free Software Foundation, Inc.
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by ocaml-sqlite $as_me 0.13.0, which was
+It was created by ocaml-sqlite $as_me 0.14.0, which was
 generated by GNU Autoconf 2.59.  Invocation command line was
 
   $ $0 $@
 } >&5
 cat >&5 <<_CSEOF
 
-This file was extended by ocaml-sqlite $as_me 0.13.0, which was
+This file was extended by ocaml-sqlite $as_me 0.14.0, which was
 generated by GNU Autoconf 2.59.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
 
 cat >>$CONFIG_STATUS <<_ACEOF
 ac_cs_version="\\
-ocaml-sqlite config.status 0.13.0
+ocaml-sqlite config.status 0.14.0
 configured by $0, generated by GNU Autoconf 2.59,
   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
 
 } >&5
 cat >&5 <<_CSEOF
 
-This file was extended by ocaml-sqlite $as_me 0.13.0, which was
+This file was extended by ocaml-sqlite $as_me 0.14.0, which was
 generated by GNU Autoconf 2.59.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
 
 cat >>$CONFIG_STATUS <<_ACEOF
 ac_cs_version="\\
-ocaml-sqlite config.status 0.13.0
+ocaml-sqlite config.status 0.14.0
 configured by $0, generated by GNU Autoconf 2.59,
   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
 
-AC_INIT(ocaml-sqlite, 0.13.0, markus.mottl@gmail.com)
+AC_INIT(ocaml-sqlite, 0.14.0, markus.mottl@gmail.com)
 AC_CONFIG_SRCDIR(sqlite3.mli)
 
 AC_CHECKING(for ocaml compiler and tools)
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.