Changeset 1022
- Timestamp:
- 04/09/07 13:55:28 (2 years ago)
- Files:
-
- trunk/pdns/build-scripts/rpm-build-instruction (modified) (1 diff)
- trunk/pdns/configure.in (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/pdns/build-scripts/rpm-build-instruction
r1007 r1022 1 1 #!/bin/sh 2 LIBS="-lkrb5 -lk5crypto -lpgport -lgssapi_krb5 -lkrb5support -lgssapi_krb5 -lcom_err -lnsl -lresolv" \ 2 3 CC="ccache gcc" CXX="ccache g++" ./configure \ 3 4 --with-modules="mysql gmysql gpgsql gsqlite gsqlite3 pipe pdns geo" \ 4 --with-pgsql-lib=/opt/postgresql/lib/ \5 --with-pgsql-includes=/opt/postgresql/include/ \6 5 --with-dynmodules="" \ 7 6 --enable-static-binaries \ trunk/pdns/configure.in
r998 r1022 35 35 # Check for libdl 36 36 37 LIBS= -lz37 LIBS= $LIBS -lz 38 38 39 39 my_save_LIBS="$LIBS" … … 420 420 then 421 421 AC_ARG_WITH(sqlite3, 422 [ --with-sqlite3=<path> root directory path of SQLite installation],422 [ --with-sqlite3=<path> root directory path of SQLite3 installation], 423 423 [SQLITE3_lib_check="$withval/lib/sqlite3 $with_sqlite3/lib" 424 424 SQLITE3_inc_check="$withval/include/sqlite3"], … … 426 426 SQLITE3_inc_check="/usr/local/sqlite3/include/sqlite3 /usr/local/include/sqlite3/ /usr/local/include /opt/sqlite3/include/sqlite3 /opt/sqlite3/include /usr/include/ /usr/include/sqlite3"]) 427 427 AC_ARG_WITH(sqlite3-lib, 428 [ --with-sqlite3-lib=<path> directory path of SQLite library installation],428 [ --with-sqlite3-lib=<path> directory path of SQLite3 library installation], 429 429 [SQLITE3_lib_check="$withval/lib/sqlite3 $withval/sqlite3 $withval"]) 430 430 AC_ARG_WITH(sqlite3-includes, 431 [ --with-sqlite3-includes=<path> directory path of SQLite header installation],431 [ --with-sqlite3-includes=<path> directory path of SQLite3 header installation], 432 432 [SQLITE3_inc_check="$withval/include/sqlite3 $withval/sqlite3 $withval"]) 433 AC_MSG_CHECKING([for SQLite library directory])433 AC_MSG_CHECKING([for SQLite3 library directory]) 434 434 SQLITE3_libdir= 435 435 for m in $SQLITE3_lib_check; do … … 449 449 LDFLAGS="$SQLITE3_lib $LDFLAGS" 450 450 ;; 451 * ) AC_MSG_ERROR([The SQLite library directory ($SQLITE3_libdir) must be an absolute path.]) ;;451 * ) AC_MSG_ERROR([The SQLite3 library directory ($SQLITE3_libdir) must be an absolute path.]) ;; 452 452 esac 453 453 454 454 AC_SUBST(SQLITE3_lib) 455 455 AC_MSG_RESULT([$SQLITE3_libdir]) 456 AC_MSG_CHECKING([for SQLite include directory])456 AC_MSG_CHECKING([for SQLite3 include directory]) 457 457 SQLITE3_incdir= 458 458 for m in $SQLITE3_inc_check; do … … 464 464 done 465 465 if test -z "$SQLITE3_incdir"; then 466 AC_MSG_ERROR([Didn't find the SQLite include dir in '$SQLITE3_inc_check'])466 AC_MSG_ERROR([Didn't find the SQLite3 include dir in '$SQLITE3_inc_check']) 467 467 fi 468 468 case "$SQLITE3_incdir" in 469 469 /* ) ;; 470 * ) AC_MSG_ERROR([The SQLite include directory ($SQLITE3_incdir) must be an absolute path.]) ;;470 * ) AC_MSG_ERROR([The SQLite3 include directory ($SQLITE3_incdir) must be an absolute path.]) ;; 471 471 esac 472 472 AC_SUBST(SQLITE3_incdir)