mirror of
https://github.com/postgres/postgres.git
synced 2025-07-20 05:03:10 +03:00
Better solution to the tr problem: use sed instead. Per Martijn and Andrew.
This commit is contained in:
@ -1,4 +1,4 @@
|
|||||||
# $PostgreSQL: pgsql/config/general.m4,v 1.8 2006/11/30 21:44:12 tgl Exp $
|
# $PostgreSQL: pgsql/config/general.m4,v 1.9 2006/11/30 22:21:23 tgl Exp $
|
||||||
|
|
||||||
# This file defines new macros to process configure command line
|
# This file defines new macros to process configure command line
|
||||||
# arguments, to replace the brain-dead AC_ARG_WITH and AC_ARG_ENABLE.
|
# arguments, to replace the brain-dead AC_ARG_WITH and AC_ARG_ENABLE.
|
||||||
@ -82,7 +82,7 @@ AC_DEFUN([PGAC_ARG_CHECK],
|
|||||||
continue 2
|
continue 2
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
pgac_txt=`echo $pgac_var | tr 'a_b' 'a-b'`
|
pgac_txt=`echo $pgac_var | sed 's/_/-/g'`
|
||||||
AC_MSG_WARN([option ignored: --$pgac_txt])
|
AC_MSG_WARN([option ignored: --$pgac_txt])
|
||||||
done])# PGAC_ARG_CHECK
|
done])# PGAC_ARG_CHECK
|
||||||
|
|
||||||
|
2
configure
vendored
2
configure
vendored
@ -24413,7 +24413,7 @@ for pgac_var in `set | sed 's/=.*//' | $EGREP 'with_|enable_'`; do
|
|||||||
continue 2
|
continue 2
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
pgac_txt=`echo $pgac_var | tr 'a_b' 'a-b'`
|
pgac_txt=`echo $pgac_var | sed 's/_/-/g'`
|
||||||
{ echo "$as_me:$LINENO: WARNING: option ignored: --$pgac_txt" >&5
|
{ echo "$as_me:$LINENO: WARNING: option ignored: --$pgac_txt" >&5
|
||||||
echo "$as_me: WARNING: option ignored: --$pgac_txt" >&2;}
|
echo "$as_me: WARNING: option ignored: --$pgac_txt" >&2;}
|
||||||
done
|
done
|
||||||
|
Reference in New Issue
Block a user