Set PLUGIN_DIR to a value that depends on "VERSION", rather than
hardcoding the version number into it; this means you don't have to remember to change the version number in two places when you change the version. (If, as, and when the plugin ABI stabilizes enough that we don't change the plugin directory in every release, we can set it based on, say, some "PLUGIN_ABI_VERSION" variable.) svn path=/trunk/; revision=3294
This commit is contained in:
parent
b0596cbcc4
commit
f2881ddcac
|
@ -1,4 +1,4 @@
|
|||
# $Id: configure.in,v 1.117 2001/04/11 18:38:19 guy Exp $
|
||||
# $Id: configure.in,v 1.118 2001/04/11 23:49:44 guy Exp $
|
||||
dnl
|
||||
dnl Process this file with autoconf 2.13 or later to produce a
|
||||
dnl configure script; 2.12 doesn't generate a "configure" script that
|
||||
|
@ -472,6 +472,7 @@ dnl blank for now, but will be used in future
|
|||
AC_SUBST(ethereal_SUBDIRS)
|
||||
|
||||
dnl check for plugins directory - stolen from Amanda's configure.in
|
||||
PLUGIN_DIR="$libdir/ethereal/plugins/$VERSION"
|
||||
AC_ARG_WITH(plugindir,
|
||||
[ --with-plugindir=DIR install plugins in DIR],
|
||||
[
|
||||
|
@ -481,8 +482,7 @@ AC_ARG_WITH(plugindir,
|
|||
;;
|
||||
*) PLUGIN_DIR="$withval"
|
||||
esac
|
||||
],
|
||||
: ${PLUGIN_DIR=$libdir/ethereal/plugins/0.8.17}
|
||||
]
|
||||
)
|
||||
|
||||
PLUGIN_DIR=`(
|
||||
|
|
Loading…
Reference in New Issue