diff options
author | Paul Smith <psmith@gnu.org> | 2011-04-18 01:25:20 +0000 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2011-04-18 01:25:20 +0000 |
commit | 85419b285012fa28aec7f6963455eef48ab85fd4 (patch) | |
tree | 0e3e16d626762ad9341d6fad782a12080c795c45 /variable.h | |
parent | 936d622e598a735a176cfb990f2ed0828e8905f1 (diff) | |
download | make-85419b285012fa28aec7f6963455eef48ab85fd4.tar.gz |
Add new feature: != shell assignment for portability with BSD make.
Feature submitted by David Wheeler.
Diffstat (limited to 'variable.h')
-rw-r--r-- | variable.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -38,7 +38,8 @@ enum variable_flavor f_simple, /* Simple definition (:=) */ f_recursive, /* Recursive definition (=) */ f_append, /* Appending definition (+=) */ - f_conditional /* Conditional definition (?=) */ + f_conditional, /* Conditional definition (?=) */ + f_shell /* Shell assignment (!=) */ }; /* Structure that represents one variable definition. @@ -134,6 +135,8 @@ char *patsubst_expand_pat (char *o, const char *text, const char *pattern, const char *replace, const char *pattern_percent, const char *replace_percent); char *patsubst_expand (char *o, const char *text, char *pattern, char *replace); +char *func_shell_base (char *o, char **argv, int trim_newlines); + /* expand.c */ char *recursively_expand_for_file (struct variable *v, struct file *file); |