Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
doxverilog
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
doxverilog
Commits
1faf5815
Commit
1faf5815
authored
Jul 03, 2013
by
Dimitri van Heesch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 703574 - Add configure options to enable static SQLite and non-standard SQLite
parent
5aebe938
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
7 deletions
+32
-7
configure
configure
+31
-7
libdoxygen.pro.in
src/libdoxygen.pro.in
+1
-0
No files found.
configure
View file @
1faf5815
...
...
@@ -41,6 +41,8 @@ f_bison=NO
f_search
=
NO
f_langs
=
nl
,sv,cz,fr,id,it,de,jp,je,es,fi,ru,hr,pl,pt,hu,kr,ke,ro,si,cn,no,mk,br,dk,sk,ua,gr,tw,sr,ca,lt,za,ar,fa,sc,vi,tr,eo,am
f_sqlite3
=
NO
f_sqlite3static
=
NO
f_sqlite3_path
=
NO
f_libclang
=
NO
f_libclangstatic
=
NO
...
...
@@ -103,6 +105,13 @@ while test -n "$1"; do
--with-sqlite3
|
-with-sqlite3
)
f_sqlite3
=
YES
;;
--with-sqlite3-static
|
-with-sqlite3-static
)
f_sqlite3
=
YES
f_sqlite3static
=
YES
;;
--sqlite3-path
|
-sqlite3-path
)
shift
;
f_sqlite3_path
=
$1
;;
--with-libclang
|
-with-libclang
)
f_libclang
=
YES
;;
...
...
@@ -128,7 +137,8 @@ Usage: $0 [--help] [--shared] [--static] [--release] [--debug]
[--perl name] [--flex name] [--bison name] [--make name]
[--dot name] [--platform target] [--prefix dir] [--docdir dir]
[--install name] [--english-only] [--enable-langs list]
[--with-sqlite3] [--with-libclang]
[--with-sqlite3] [--with-sqlite3-static] [--sqlite3-path]
[--with-libclang] [--with-libclang-static]
[--with-doxywizard] [--with-doxysearch] [--with-doxyapp]
Options:
...
...
@@ -420,9 +430,18 @@ fi
if
test
"
$f_sqlite3
"
=
YES
;
then
printf
" Checking for sqlite3 ... "
if
test
"
$f_sqlite_path
"
=
NO
;
then
sqlite3_hdr_dir
=
"/usr/include /usr/local/include /opt/local/include"
sqlite3_lib_dir
=
"/usr/lib /usr/local/lib /opt/local/lib /usr/lib/x86_64-linux-gnu"
else
sqlite3_hdr_dir
=
"
$f_sqlite3_path
/include"
sqlite3_lib_dir
=
"
$f_sqlite3_path
/lib"
fi
if
test
"
$f_sqlite3static
"
=
NO
;
then
sqlite3_lib_name
=
"libsqlite3.so libsqlite3.dylib libsqlite3.a"
else
sqlite3_lib_name
=
"libsqlite3.a"
fi
sqlite3_hdr
=
NO
sqlite3_lib
=
NO
sqlite3_link
=
...
...
@@ -436,8 +455,13 @@ if test "$f_sqlite3" = YES; then
if
test
"
$sqlite3_lib
"
=
NO
;
then
for
j
in
$sqlite3_lib_name
;
do
if
test
-e
"
$i
/
$j
"
;
then
if
test
"
$f_sqlite3static
"
=
NO
;
then
sqlite3_lib
=
"
$i
/
$j
"
sqlite3_link
=
"-L
$i
-lsqlite3"
sqlite3_link
=
"-L
$i
-lsqlite3"
else
sqlite3_lib
=
"
$i
/
$j
"
sqlite3_link
=
"
$i
/
$j
-ldl"
fi
break
fi
done
...
...
@@ -792,7 +816,7 @@ EOF
#if test "$f_thread" = YES; then
# realopts="$realopts thread"
#fi
cat
$SRC
.tmakeconfig |
sed
-e
"s/
\$
extraopts/
$realopts
/g"
-e
"s;%%SQLITE3_LIBS%%;
$sqlite3_link
;g"
-e
"s;%%LIBCLANG_LIBS%%;
$libclang_link
;g"
>>
$DST
cat
$SRC
.tmakeconfig |
sed
-e
"s/
\$
extraopts/
$realopts
/g"
-e
"s;%%SQLITE3_
INC%%;
$sqlite3_hdr_dir
;g"
-e
"s;%%SQLITE3_
LIBS%%;
$sqlite3_link
;g"
-e
"s;%%LIBCLANG_LIBS%%;
$libclang_link
;g"
>>
$DST
echo
" Created
$DST
from
$SRC
..."
done
...
...
src/libdoxygen.pro.in
View file @
1faf5815
...
...
@@ -278,6 +278,7 @@ linux-g++:TMAKE_CXXFLAGS += -fno-exceptions -fno-rtti
INCLUDEPATH += ../qtools
#INCLUDEPATH += ../libpng
INCLUDEPATH += ../libmd5
INCLUDEPATH += %%SQLITE3_INC%%
win32:INCLUDEPATH += .
#win32-g++:INCLUDEPATH = ../qtools /usr/include/libpng12 ../libmd5
win32-g++:INCLUDEPATH = ../qtools ../libmd5
...
...
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