- add configure option for disabling the call to ldconfig on make install
authorMemphis <memphis@machzwo.de>
Wed, 8 Jun 2011 15:19:32 +0000 (17:19 +0200)
committerMemphis <memphis@machzwo.de>
Wed, 8 Jun 2011 15:22:46 +0000 (17:22 +0200)
- this is needed because we use a prefix which is writable by the user - calling ldconfig
would need root rights which we have to avoid...

configure.ac

index fab196c48e9c5002d1fc2eedd679757bad1b3cdc..9973c92ad4a7044cbc5a66e1ca90063145c1a102 100644 (file)
@@ -60,6 +60,10 @@ AC_ARG_WITH([examples],
              )
 AC_SUBST(ENABLE_EXAMPLES)
 
+AC_ARG_WITH([ldconfig],
+           [  --without-ldconfig  Disable call of ldconfig on make install],
+           [ldconfig='echo ldconfig disabled'])
+
 AC_CONFIG_HEADER(config.h)
 
 EXTRA_OBJ=""