common/autoconf/basics.m4

changeset 801
7697621037fd
parent 756
b2b87e9e8683
child 839
174a54ce39c4
child 854
22c6f0b7e2b5
equal deleted inserted replaced
800:59d6af7422af 801:7697621037fd
199 done 199 done
200 cd $STARTDIR 200 cd $STARTDIR
201 $1=$sym_link_dir/$sym_link_file 201 $1=$sym_link_dir/$sym_link_file
202 fi 202 fi
203 fi 203 fi
204 ])
205
206 # Register a --with argument but mark it as deprecated
207 # $1: The name of the with argument to deprecate, not including --with-
208 AC_DEFUN([BASIC_DEPRECATED_ARG_WITH],
209 [
210 AC_ARG_WITH($1, [AS_HELP_STRING([--with-$1],
211 [Deprecated. Option is kept for backwards compatibility and is ignored])],
212 [AC_MSG_WARN([Option --with-$1 is deprecated and will be ignored.])])
204 ]) 213 ])
205 214
206 AC_DEFUN_ONCE([BASIC_INIT], 215 AC_DEFUN_ONCE([BASIC_INIT],
207 [ 216 [
208 # Save the original command line. This is passed to us by the wrapper configure script. 217 # Save the original command line. This is passed to us by the wrapper configure script.

mercurial