- Reestructuración de ficheros y directorios general
- merge v0.01 --> Añadido fileselector - Añadidas fuentes de Gem y Pure Data - pix2jpg incluído en Gem. Archivos de construcción de Gem modificados. - Añadido fichero ompiling.txt con instrucciones de compilación
This commit is contained in:
parent
c9adfd020b
commit
e85d191b46
3100 changed files with 775434 additions and 3073 deletions
25
Gem/m4/iem_relativerpath.m4
Normal file
25
Gem/m4/iem_relativerpath.m4
Normal file
|
@ -0,0 +1,25 @@
|
|||
dnl Copyright (C) 2011 IOhannes m zmölnig
|
||||
dnl This file is free software; IOhannes m zmölnig
|
||||
dnl gives unlimited permission to copy and/or distribute it,
|
||||
dnl with or without modifications, as long as this notice is preserved.
|
||||
|
||||
## useage: add the @RELATIVERPATH_FLAGS@ to the LDFLAGS of your external
|
||||
|
||||
## TODO: add other platforms
|
||||
## on OSX we have to add "-install_name @loader_path/$NAME" when linking the _library_
|
||||
## on W32 this should no be needed at all (but is it?)
|
||||
|
||||
AC_DEFUN([IEM_RELATIVERPATH],
|
||||
[
|
||||
originrpath_org_CFLAGS=$CFLAGS
|
||||
IEM_CHECK_CFLAGS([-Wl,-enable-new-dtags -Wl,-rpath,"\$ORIGIN"],
|
||||
[have_originrpath="yes"], [have_originrpath="no"])
|
||||
CFLAGS=$originrpath_org_CFLAGS
|
||||
RELATIVERPATH_FLAGS=""
|
||||
if test "x$have_originrpath" = "xyes"; then
|
||||
RELATIVERPATH_FLAGS="-Wl,-enable-new-dtags -Wl,-rpath,\"\\\$\$ORIGIN\""
|
||||
fi
|
||||
|
||||
|
||||
AC_SUBST([RELATIVERPATH_FLAGS])
|
||||
])# IEM_RELATIVERPATH
|
Loading…
Add table
Add a link
Reference in a new issue