summaryrefslogtreecommitdiff
path: root/m4/fp_copy_shellvar.m4
blob: f58601a3f1a1c5539f0d54ed730e81af43072f9d (plain)
1
2
3
# Helper for cloning a shell variable's state
AC_DEFUN([FP_COPY_SHELLVAR],
[if test -n "${$1+set}"; then $2="$$1"; else unset $2; fi ])