Skip to content
GitLab
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Commits on Source (2)
Changes to the build system
· b6a00614
Bastian Germann
authored
Aug 29, 2018
b6a00614
Merge branch 'prefix' into 'master'
· 502244a2
Benoît Minisini
authored
Aug 29, 2018
Changes to the build system See merge request
!35
502244a2
Hide whitespace changes
Inline
Side-by-side
gb.compress.bzlib2/configure.ac
View file @
502244a2
...
...
@@ -11,8 +11,8 @@ dnl ---- bzlib2 compression driver
GB_COMPONENT(
bzlib2, BZLIB2, gb.compress.bzlib2, [src],
[GB_FIND(bzlib.h, /usr/local/lib /usr/local /opt /usr/lib /usr, include)],
[GB_FIND(libbz2.$SHLIBEXT, /usr/local /opt /usr, lib)],
[GB_FIND(bzlib.h,
$prefix
/usr/local/lib /usr/local /opt /usr/lib /usr, include)],
[GB_FIND(libbz2.$SHLIBEXT,
$prefix
/usr/local /opt /usr, lib)],
[$C_LIB -lbz2])
dnl ---- Create makefiles
...
...
gb.crypt/configure.ac
View file @
502244a2
...
...
@@ -9,8 +9,8 @@ AC_PROG_LIBTOOL
GB_COMPONENT(
crypt, CRYPT, gb.crypt, [src],
[GB_FIND(crypt.h, /usr/lib /usr, include)],
[GB_FIND(libcrypt.$SHLIBEXT, /usr/local /usr, lib)],
[GB_FIND(crypt.h,
$prefix
/usr/lib /usr, include)],
[GB_FIND(libcrypt.$SHLIBEXT,
$prefix
/usr/local /usr, lib)],
[-lcrypt])
AC_OUTPUT( \
...
...
gb.db.mysql/configure.ac
View file @
502244a2
...
...
@@ -10,8 +10,8 @@ dnl LT_INIT
GB_COMPONENT(
mysql, MYSQL, gb.db.mysql, [src],
[GB_FIND(mysql.h my_config.h, /opt/local /opt /usr/local/lib /usr/local /usr/lib /usr, include mysql*/include)],
[GB_FIND(libmysqlclient.$SHLIBEXT, /opt/local /opt /usr/local /usr, lib mysql*/lib)],
[GB_FIND(mysql.h my_config.h,
$prefix
/opt/local /opt /usr/local/lib /usr/local /usr/lib /usr, include mysql*/include)],
[GB_FIND(libmysqlclient.$SHLIBEXT,
$prefix
/opt/local /opt /usr/local /usr, lib mysql*/lib)],
[$C_LIB -lmysqlclient -lz])
AC_OUTPUT( \
...
...
gb.db.odbc/configure.ac
View file @
502244a2
...
...
@@ -13,8 +13,8 @@ dnl ---- ODBC driver
GB_COMPONENT(
odbc, ODBC, gb.db.odbc, [src],
[GB_FIND(sql.h sqlext.h sqltypes.h, /usr/local/lib /usr/local /opt /usr/lib /usr, include odbc*/include)],
[GB_FIND(libodbc.$SHLIBEXT, /usr/local /opt /usr /opt/local, lib odbc*/lib )],
[GB_FIND(sql.h sqlext.h sqltypes.h,
$prefix
/usr/local/lib /usr/local /opt /usr/lib /usr, include odbc*/include)],
[GB_FIND(libodbc.$SHLIBEXT,
$prefix
/usr/local /opt /usr /opt/local, lib odbc*/lib )],
[$C_LIB -lodbc])
dnl ---- Create makefiles
...
...
gb.db.postgresql/configure.ac
View file @
502244a2
...
...
@@ -13,8 +13,8 @@ dnl ---- PostgreSQL driver
GB_COMPONENT(
postgresql, POSTGRESQL, gb.db.postgresql, [src],
[GB_FIND(libpq-fe.h postgres.h pg_type.h, /usr/local/lib /usr/local /opt /usr/lib /usr, include/pgsql* pgsql*/include include/postgresql* postgresql*/include include/postgresql/*/server/catalog include/postgresql/*/server include)],
[GB_FIND(libpq.$SHLIBEXT, /usr/local /opt /usr, lib pgsql*/lib postgresql*/lib)],
[GB_FIND(libpq-fe.h postgres.h pg_type.h,
$prefix
/usr/local/lib /usr/local /opt /usr/lib /usr, include/pgsql* pgsql*/include include/postgresql* postgresql*/include include/postgresql/*/server/catalog include/postgresql/*/server include)],
[GB_FIND(libpq.$SHLIBEXT,
$prefix
/usr/local /opt /usr, lib pgsql*/lib postgresql*/lib)],
[$C_LIB -lpq])
dnl ---- Create makefiles
...
...
gb.gmp/configure.ac
View file @
502244a2
...
...
@@ -12,8 +12,8 @@ GB_COMPONENT(
GMP,
gb.gmp,
[src],
[GB_FIND(gmp.h, /usr/local /usr /opt/local, include)],
[GB_FIND(libgmp.$SHLIBEXT, /usr/local /usr /opt/local, lib)],
[GB_FIND(gmp.h,
$prefix
/usr/local /usr /opt/local, include)],
[GB_FIND(libgmp.$SHLIBEXT,
$prefix
/usr/local /usr /opt/local, lib)],
[$C_LIB -lgmp],
[ ])
AC_OUTPUT( Makefile src/Makefile )
...
...
gb.ncurses/configure.ac
View file @
502244a2
...
...
@@ -9,7 +9,7 @@ AC_PROG_LIBTOOL
GB_COMPONENT_PKG_CONFIG(
ncurses, NCURSES, gb.ncurses, [src],
ncurses)
ncurses
panel
)
AC_OUTPUT( \
Makefile \
...
...
gb.v4l/configure.ac
View file @
502244a2
...
...
@@ -13,8 +13,8 @@ GB_COMPONENT_PKG_CONFIG(
GB_COMPONENT(
v4l, V4L, gb.v4l, [src],
[GB_FIND(png.h jpeglib.h linux/videodev2.h, /usr/local/lib /usr/local /usr/lib /usr, include)],
[GB_FIND(libpng.$SHLIBEXT libjpeg.$SHLIBEXT, /usr/local /usr, lib)],
[GB_FIND(png.h jpeglib.h linux/videodev2.h,
$prefix
/usr/local/lib /usr/local /usr/lib /usr, include)],
[GB_FIND(libpng.$SHLIBEXT libjpeg.$SHLIBEXT,
$prefix
/usr/local /usr, lib)],
[$C_LIB -ljpeg -lpng])
AC_OUTPUT( \
...
...