common/autoconf/basics.m4
changeset 19763 f234bbfc5ab3
parent 18427 97349ca6a705
child 20363 fa7663fc5d50
child 20640 66c24722698e
equal deleted inserted replaced
19762:1bc60666c599 19763:f234bbfc5ab3
   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.