You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
835 B

  1. --- a/Makefile.in
  2. +++ b/Makefile.in
  3. @@ -84,12 +84,7 @@ showkey: showkey.o $(LIBNEWT)
  4. _snack.$(SOEXT): snack.c $(LIBNEWTSH)
  5. @[ -n "$(PYTHONVERS)" ] && for ver in $(PYTHONVERS); do \
  6. - pyconfig=$$ver-config; \
  7. - if ! $$pyconfig --cflags > /dev/null 2>&1 && \
  8. - python-config --cflags > /dev/null 2>&1; then \
  9. - echo $$pyconfig not found, using python-config; \
  10. - pyconfig=python-config; \
  11. - fi; \
  12. + pyconfig=$(PYTHON_CONFIG_PATH)/$$ver-config; \
  13. mkdir -p $$ver; \
  14. PCFLAGS=`$$pyconfig --cflags`; \
  15. PIFLAGS=`$$pyconfig --includes`; \
  16. @@ -109,7 +104,7 @@ whiptcl.$(SOEXT): $(WHIPTCLOBJS) $(LIBNE
  17. $(CC) -shared $(SHCFLAGS) $(LDFLAGS) -o whiptcl.$(SOEXT) $(WHIPTCLOBJS) -L. -lnewt $(LIBTCL) -lpopt $(LIBS)
  18. $(LIBNEWT): $(LIBOBJS)
  19. - ar rv $@ $^
  20. + $(AR) rv $@ $^
  21. newt.o $(SHAREDDIR)/newt.o: newt.c Makefile