Added the use of PCBDATA environment variable to make gsch2pcb relocatable
commit400bc2ffa1d6a83725d87caf1c941a1f205b508b
authorAles Hvezda <ahvezda@seul.org>
Sat, 5 Jan 2008 21:40:30 +0000 (5 16:40 -0500)
committerAles Hvezda <ahvezda@seul.org>
Sun, 6 Jan 2008 00:09:12 +0000 (5 19:09 -0500)
tree754a99a8796fb626671537b3eb7c2be4f8ffadb8
parentdd0d5724b1ed07c12aaf17478ef4fb0500c6cd4f
Added the use of PCBDATA environment variable to make gsch2pcb relocatable

Before this patch, m4_pcbdir was being set from the preprocessor variable
PCBDATADIR which was set at ./configure time.  In order to be able to move
gsch2pcb to a different install prefix, this path has to be changable at
run-time.  If PCBDATA is not set, then PCBDATADIR is used (previous
behavior).
utils/src/gsch2pcb.c